Exception: VCAP::JsonSchema::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- VCAP::JsonSchema::ValidationError
- Defined in:
- lib/vcap/json_schema.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(msg) ⇒ ValidationError
constructor
A new instance of ValidationError.
- #to_s ⇒ Object
Constructor Details
#initialize(msg) ⇒ ValidationError
Returns a new instance of ValidationError.
37 38 39 |
# File 'lib/vcap/json_schema.rb', line 37 def initialize(msg) @message = msg end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
36 37 38 |
# File 'lib/vcap/json_schema.rb', line 36 def @message end |
Instance Method Details
#to_s ⇒ Object
41 42 43 |
# File 'lib/vcap/json_schema.rb', line 41 def to_s @message end |