Exception: Grape::Exceptions::ValidationArrayErrors
- Defined in:
- lib/grape/exceptions/validation_array_errors.rb
Constant Summary
Constants inherited from Base
Base::BASE_ATTRIBUTES_KEY, Base::BASE_MESSAGES_KEY, Base::FALLBACK_LOCALE
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(errors) ⇒ ValidationArrayErrors
constructor
A new instance of ValidationArrayErrors.
Methods inherited from Base
Constructor Details
#initialize(errors) ⇒ ValidationArrayErrors
Returns a new instance of ValidationArrayErrors.
8 9 10 |
# File 'lib/grape/exceptions/validation_array_errors.rb', line 8 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
6 7 8 |
# File 'lib/grape/exceptions/validation_array_errors.rb', line 6 def errors @errors end |