micro-toolkit / zmq-service-suite-ruby

ZMQ Service Oriented Architecture Suite - Ruby Client&Service
MIT License
14 stars 6 forks source link

Support BadParameterException #6

Closed pjanuario closed 10 years ago

pjanuario commented 10 years ago

By default every exception raised by the service, will be catched and response is returned with 500 status code, with default user and dev message.

To return specific errors, the service should raise a ZSS::Error.

Check wiki documentation on how to raise them.