Properly developed services need to expose errors appropriately. RESTful services are no exception. In this secreencast, Rob Bagby will illustrate how to control the HTTP Status Code that is returned from your RESTful service, as well as how to return
additional error details in the response. Rob will then illustrate how to handle these errors from the client perspective.
View Rob's blog post on this subject