Exception: Expressir::ValidationError
- Defined in:
- lib/expressir/errors.rb
Overview
Validation Errors
Direct Known Subclasses
ManifestValidationError, NoValidSchemaPathsError, ReferentialIntegrityError, SchemaValidationError
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.
71 72 73 74 |
# File 'lib/expressir/errors.rb', line 71 def initialize(, errors: []) @errors = errors super() end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
69 70 71 |
# File 'lib/expressir/errors.rb', line 69 def errors @errors end |