Exception: RSchema::Invalid

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(validation_error) ⇒ Invalid


131
132
133
134
# File 'lib/rschema.rb', line 131

def initialize(validation_error)
  super()
  @validation_error = validation_error
end

Instance Attribute Details

#validation_errorObject (readonly)

Returns the value of attribute validation_error


129
130
131
# File 'lib/rschema.rb', line 129

def validation_error
  @validation_error
end