Class: Caren::ValidationError
- Inherits:
-
NotAcceptableError
- Object
- Error
- NotAcceptableError
- Caren::ValidationError
- Defined in:
- lib/caren/error.rb
Instance Attribute Summary
Attributes inherited from Error
#attributes, #category, #message
Instance Method Summary collapse
Methods inherited from Error
Constructor Details
This class inherits a constructor from Caren::Error
Instance Method Details
#field ⇒ Object
31 32 33 |
# File 'lib/caren/error.rb', line 31 def field attributes[:on] end |
#to_s ⇒ Object
35 36 37 |
# File 'lib/caren/error.rb', line 35 def to_s "`#{field}` #{}" end |