Exception: Rack::JsonSchema::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Rack::JsonSchema::Error
- Defined in:
- lib/rack/json_schema/error.rb
Direct Known Subclasses
Mock::Error, RequestValidation::Error, ResponseValidation::Error
Instance Method Summary collapse
-
#to_rack_response ⇒ Array
Rack response.
Instance Method Details
#to_rack_response ⇒ Array
Returns Rack response.
5 6 7 |
# File 'lib/rack/json_schema/error.rb', line 5 def to_rack_response [status, headers, [body]] end |