Support for errors returned by webservices.rest