Exception: Kiba::Extend::Transforms::Copy::Field::MissingFromFieldError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Kiba::Extend::Transforms::Copy::Field::MissingFromFieldError
- Defined in:
- lib/kiba/extend/transforms/copy/field.rb
Instance Method Summary collapse
-
#initialize(from, fields) ⇒ MissingFromFieldError
constructor
A new instance of MissingFromFieldError.
Methods included from ErrMod
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 |