Error handling attributes Attributes that define error handling in REST services and functions. WSThrowsDefines a list of errors that may be encountered accessing a REST resource.WSRetCodeDefines the HTTP success status sent in the REST response.