Are there best practices for error handling? I am extending a Resource object overriding the represent method. What is the be approach for returning an error to the user? Should I throw a ResourceException (as defined by the interface) or should I add the exception/error information to the Response? Or Both?
Thanks

