Exception: DispatchRider::NotRegistered

Inherits:
DispatchRiderError show all
Defined in:
lib/dispatch-rider/errors.rb

Overview

The error class for keys not registered in a registrar

Instance Method Summary collapse

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