Exception: Rodolfo::SchemaValidationError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rodolfo/exceptions.rb

Overview

Schema validation failed

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ SchemaValidationError

Returns a new instance of SchemaValidationError.



15
16
17
# File 'lib/rodolfo/exceptions.rb', line 15

def initialize(errors)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



13
14
15
# File 'lib/rodolfo/exceptions.rb', line 13

def errors
  @errors
end