Exception: JOR::InvalidFieldName

Inherits:
Error
  • Object
show all
Defined in:
lib/jor/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(field) ⇒ InvalidFieldName

Returns a new instance of InvalidFieldName.



19
20
21
# File 'lib/jor/errors.rb', line 19

def initialize(field)
  super %(Invalid character in field name "#{field}". Cannot start with '_' or '$')
end