Exception: DispatchRider::NotRegistered
- Inherits:
-
DispatchRiderError
- Object
- StandardError
- DispatchRiderError
- DispatchRider::NotRegistered
- Defined in:
- lib/dispatch-rider/errors.rb
Overview
The error class for keys not registered in a registrar
Instance Method Summary collapse
-
#initialize(name) ⇒ NotRegistered
constructor
A new instance of NotRegistered.
Constructor Details
#initialize(name) ⇒ NotRegistered
Returns a new instance of NotRegistered.
16 17 18 |
# File 'lib/dispatch-rider/errors.rb', line 16 def initialize(name) super("#{name.to_s} has not been registered") end |