Exception: AlphaApi::Exceptions::ValidationErrors
- Inherits:
-
StandardError
- Object
- StandardError
- AlphaApi::Exceptions::ValidationErrors
- Defined in:
- lib/alpha_api/exceptions.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors = []) ⇒ ValidationErrors
constructor
A new instance of ValidationErrors.
Constructor Details
#initialize(errors = []) ⇒ ValidationErrors
Returns a new instance of ValidationErrors.
10 11 12 13 |
# File 'lib/alpha_api/exceptions.rb', line 10 def initialize(errors = []) super @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
8 9 10 |
# File 'lib/alpha_api/exceptions.rb', line 8 def errors @errors end |