Exception: Cuprum::NotImplementedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cuprum/not_implemented_error.rb

Overview

Error class for calling a Command that was not given a definition block or have a #process method defined.

Constant Summary collapse

DEFAULT_MESSAGE =

Error message for a NotImplementedError.

'no implementation defined for command'.freeze

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ NotImplementedError

Returns a new instance of NotImplementedError.



10
11
12
# File 'lib/cuprum/not_implemented_error.rb', line 10

def initialize message = nil
  super(message || DEFAULT_MESSAGE)
end