Class: GRel::ValidationError

Inherits:
Stardog::ICVException
  • Object
show all
Defined in:
lib/grel.rb

Overview

Exception raised to signal a validation error due to a Stardog ICV.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, exception) ⇒ ValidationError

Returns a new instance of ValidationError.



21
22
23
24
# File 'lib/grel.rb', line 21

def initialize(msg, exception)
  super(msg)
  @icv_exception = exception
end

Instance Attribute Details

#icv_exceptionObject

Returns the value of attribute icv_exception.



20
21
22
# File 'lib/grel.rb', line 20

def icv_exception
  @icv_exception
end