Exception: Rack::JsonSchema::RequestValidation::LinkNotFound
Overview
Error class for case when no link defined for given request
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize ⇒ LinkNotFound
constructor
A new instance of LinkNotFound.
- #status ⇒ Object
Methods inherited from Error
Constructor Details
#initialize ⇒ LinkNotFound
Returns a new instance of LinkNotFound.
142 143 144 |
# File 'lib/rack/json_schema/request_validation.rb', line 142 def initialize super("Not found") end |
Instance Method Details
#id ⇒ Object
150 151 152 |
# File 'lib/rack/json_schema/request_validation.rb', line 150 def id "link_not_found" end |
#status ⇒ Object
146 147 148 |
# File 'lib/rack/json_schema/request_validation.rb', line 146 def status 404 end |