Exception: Sinatra::Helpers::Wanted::WantedError
- Inherits:
-
StandardError
- Object
- StandardError
- Sinatra::Helpers::Wanted::WantedError
- Defined in:
- lib/sinatra/helpers/wanted.rb
Overview
Generic exception. Only the inherited exceptions are raised.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg = nil, value: nil, id: nil) ⇒ WantedError
constructor
A new instance of WantedError.
Constructor Details
#initialize(msg = nil, value: nil, id: nil) ⇒ WantedError
Returns a new instance of WantedError.
17 18 19 20 21 |
# File 'lib/sinatra/helpers/wanted.rb', line 17 def initialize(msg=nil, value: nil, id: nil) super(msg) @value = value @id = id end |