Exception: Schema::SchemaException
- Inherits:
-
StandardError
- Object
- StandardError
- Schema::SchemaException
- Defined in:
- lib/schema-model.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
Instance Method Summary collapse
-
#initialize(msg, schema, errors) ⇒ SchemaException
constructor
A new instance of SchemaException.
Constructor Details
#initialize(msg, schema, errors) ⇒ SchemaException
Returns a new instance of SchemaException.
11 12 13 14 15 |
# File 'lib/schema-model.rb', line 11 def initialize(msg, schema, errors) super(msg) @schema = schema @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
8 9 10 |
# File 'lib/schema-model.rb', line 8 def errors @errors end |
#schema ⇒ Object (readonly)
Returns the value of attribute schema.
8 9 10 |
# File 'lib/schema-model.rb', line 8 def schema @schema end |