class Dry::Transformer::FunctionNotFoundError

Public Class Methods

new(function, source = nil) click to toggle source
Calls superclass method
# File lib/dry/transformer/error.rb, line 9
def initialize(function, source = nil)
  return super "No registered function #{source}[:#{function}]" if source

  super "No globally registered function for #{function}"
end