In my custom operations, I was returning services_error() in case of a problem. This was fine as it was an op that was only being used as a Services resource. Until I wrote tests ;)
entity_operations_services_resource_callback() should take care of returning services_error(), and op handlers' execute() should throw exceptions rather than do anything that's specific to an operation consumer.
Comments
Comment #1
joachim commented