Exception: RBSJsonSchema::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- RBSJsonSchema::ValidationError
- Defined in:
- lib/rbs_json_schema/validation_error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message:) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(message:) ⇒ ValidationError
Returns a new instance of ValidationError.
5 6 7 8 9 |
# File 'lib/rbs_json_schema/validation_error.rb', line 5 def initialize(message:) @message = super end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
3 4 5 |
# File 'lib/rbs_json_schema/validation_error.rb', line 3 def @message end |