class Startback::Web::Shield
This Rack middleware catches all known exceptions raised by sublayers in the Rack chain. Those exceptions are converted to proper HTTP error codes and friendly error messages encoded in json.
Please check the Errors
module about status codes used for each Startback
error.
This class aims at being used as top level of a Rack chain.
Examples:
Rack::Builder.new do use Startback::Web::Shield end