Exception: Lyra::Schema::SchemaValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Lyra::Schema::SchemaValidationError
- Defined in:
- lib/lyra/schema/validator.rb
Overview
Custom error for schema validation failures
Instance Attribute Summary collapse
-
#differences ⇒ Object
readonly
Returns the value of attribute differences.
Instance Method Summary collapse
-
#initialize(message, differences = []) ⇒ SchemaValidationError
constructor
A new instance of SchemaValidationError.
Constructor Details
#initialize(message, differences = []) ⇒ SchemaValidationError
Returns a new instance of SchemaValidationError.
79 80 81 82 |
# File 'lib/lyra/schema/validator.rb', line 79 def initialize(, differences = []) @differences = differences super(()) end |
Instance Attribute Details
#differences ⇒ Object (readonly)
Returns the value of attribute differences.
77 78 79 |
# File 'lib/lyra/schema/validator.rb', line 77 def differences @differences end |