Exception: JsonSchemaRails::SchemaParseError
- Defined in:
- lib/json_schema_rails/errors.rb
Instance Attribute Summary collapse
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
Instance Method Summary collapse
-
#initialize(message, schema = nil) ⇒ SchemaParseError
constructor
A new instance of SchemaParseError.
Constructor Details
#initialize(message, schema = nil) ⇒ SchemaParseError
Returns a new instance of SchemaParseError.
13 14 15 16 |
# File 'lib/json_schema_rails/errors.rb', line 13 def initialize(, schema = nil) super() @schema = schema end |
Instance Attribute Details
#schema ⇒ Object (readonly)
Returns the value of attribute schema.
11 12 13 |
# File 'lib/json_schema_rails/errors.rb', line 11 def schema @schema end |