Exception: RubySlime::SchemaViolation
- Inherits:
-
StandardError
- Object
- StandardError
- RubySlime::SchemaViolation
- Defined in:
- lib/ruby_slime/schema_violation.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ SchemaViolation
constructor
A new instance of SchemaViolation.
Constructor Details
#initialize(errors) ⇒ SchemaViolation
Returns a new instance of SchemaViolation.
7 8 9 10 |
# File 'lib/ruby_slime/schema_violation.rb', line 7 def initialize(errors) @errors = errors super() end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
5 6 7 |
# File 'lib/ruby_slime/schema_violation.rb', line 5 def errors @errors end |