Exception: Slayer::CommandNotImplementedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/slayer/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ CommandNotImplementedError

Returns a new instance of CommandNotImplementedError.



12
13
14
15
# File 'lib/slayer/errors.rb', line 12

def initialize(message = nil)
  message ||= "Command implementation must return a <Slayer::Result> object"
  super
end