Exception: DispatchRider::NotFound
- Inherits:
-
DispatchRiderError
- Object
- StandardError
- DispatchRiderError
- DispatchRider::NotFound
- Defined in:
- lib/dispatch-rider/errors.rb
Overview
The error class for objects not being found
Instance Method Summary collapse
-
#initialize(name) ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize(name) ⇒ NotFound
Returns a new instance of NotFound.
9 10 11 |
# File 'lib/dispatch-rider/errors.rb', line 9 def initialize(name) super("#{name.to_s} could not be found") end |