Exception: JSI::Error::Invalid
- Inherits:
-
StandardError
- Object
- StandardError
- JSI::Error::Invalid
- Defined in:
- lib/jsi.rb
Overview
A schema instance is not valid against schemas that describe it
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result, *a, &b) ⇒ Invalid
constructor
A new instance of Invalid.
Constructor Details
#initialize(result, *a, &b) ⇒ Invalid
Returns a new instance of Invalid.
52 53 54 55 |
# File 'lib/jsi.rb', line 52 def initialize(result, *a, &b) @result = result super(result.pretty_inspect.chomp, *a, &b) end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
57 58 59 |
# File 'lib/jsi.rb', line 57 def result @result end |