Exception: Cuprum::Errors::ProcessNotImplementedError
- Inherits:
-
StandardError
- Object
- StandardError
- Cuprum::Errors::ProcessNotImplementedError
- Defined in:
- lib/cuprum/errors/process_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 ProcessNotImplementedError.
'no implementation defined for command'.freeze
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ ProcessNotImplementedError
constructor
A new instance of ProcessNotImplementedError.
Constructor Details
#initialize(message = nil) ⇒ ProcessNotImplementedError
Returns a new instance of ProcessNotImplementedError.
10 11 12 |
# File 'lib/cuprum/errors/process_not_implemented_error.rb', line 10 def initialize = nil super( || DEFAULT_MESSAGE) end |