Class: Transproc::FunctionNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/transproc/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(function, source = nil) ⇒ FunctionNotFoundError

Returns a new instance of FunctionNotFoundError



6
7
8
9
# File 'lib/transproc/error.rb', line 6

def initialize(function, source = nil)
  return super "No registered function #{source}[:#{function}]" if source
  super "No globally registered function for #{function}"
end