Exception: Rack::Spec::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.
129 130 131 |
# File 'lib/rack/spec/request_validation.rb', line 129 def initialize super("Not found") end |
Instance Method Details
#id ⇒ Object
137 138 139 |
# File 'lib/rack/spec/request_validation.rb', line 137 def id "link_not_found" end |
#status ⇒ Object
133 134 135 |
# File 'lib/rack/spec/request_validation.rb', line 133 def status 404 end |