Exception: Rodolfo::SchemaValidationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Rodolfo::SchemaValidationError
- Defined in:
- lib/rodolfo/exceptions.rb
Overview
Schema validation failed
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ SchemaValidationError
constructor
A new instance of SchemaValidationError.
Constructor Details
#initialize(errors) ⇒ SchemaValidationError
Returns a new instance of SchemaValidationError.
15 16 17 |
# File 'lib/rodolfo/exceptions.rb', line 15 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
13 14 15 |
# File 'lib/rodolfo/exceptions.rb', line 13 def errors @errors end |