[urlresolver] Make error cases more userfriendly