Exception: Mashery::ValidationException
- Defined in:
- lib/mashery/exceptions.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errs = {}) ⇒ ValidationException
constructor
A new instance of ValidationException.
Methods inherited from Exception
Constructor Details
#initialize(errs = {}) ⇒ ValidationException
Returns a new instance of ValidationException.
23 24 25 |
# File 'lib/mashery/exceptions.rb', line 23 def initialize(errs= {}) @errors = errs end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
22 23 24 |
# File 'lib/mashery/exceptions.rb', line 22 def errors @errors end |