Exception: Solidgate::ValidationError
- Defined in:
- lib/solidgate/errors.rb
Overview
Validation error
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, errors = {}) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(message, errors = {}) ⇒ ValidationError
Returns a new instance of ValidationError.
47 48 49 50 |
# File 'lib/solidgate/errors.rb', line 47 def initialize(, errors = {}) super() @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
45 46 47 |
# File 'lib/solidgate/errors.rb', line 45 def errors @errors end |