Exception: Cuprum::Function::NotImplementedError

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

Overview

Error class for calling a Function 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 function'.freeze

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ NotImplementedError

Returns a new instance of NotImplementedError.



71
72
73
# File 'lib/cuprum/function.rb', line 71

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