Exception: Rack::JsonSchema::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rack/json_schema/error.rb

Instance Method Summary collapse

Instance Method Details

#to_rack_responseArray

Returns Rack response.

Returns:

  • (Array)

    Rack response



5
6
7
# File 'lib/rack/json_schema/error.rb', line 5

def to_rack_response
  [status, headers, [body]]
end