Exception: RubySlime::SchemaViolation

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby_slime/schema_violation.rb

Direct Known Subclasses

JWTKit::SchemaViolation

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



5
6
7
# File 'lib/ruby_slime/schema_violation.rb', line 5

def errors
  @errors
end