Exception: Kiba::Extend::Transforms::Copy::Field::MissingFromFieldError

Inherits:
Error
  • Object
show all
Defined in:
lib/kiba/extend/transforms/copy/field.rb

Instance Method Summary collapse

Methods included from ErrMod

#calling_job, #info

Constructor Details

#initialize(from, fields) ⇒ MissingFromFieldError

Returns a new instance of MissingFromFieldError.



13
14
15
16
# File 'lib/kiba/extend/transforms/copy/field.rb', line 13

def initialize(from, fields)
  msg = "Cannot copy from nonexistent field `#{from}`\nExisting fields: #{fields.join(", ")}"
  super(msg)
end