Class: GRel::ValidationError
- Inherits:
-
Stardog::ICVException
- Object
- Stardog::ICVException
- GRel::ValidationError
- Defined in:
- lib/grel.rb
Overview
Exception raised to signal a validation error due to a Stardog ICV.
Instance Attribute Summary collapse
-
#icv_exception ⇒ Object
Returns the value of attribute icv_exception.
Instance Method Summary collapse
-
#initialize(msg, exception) ⇒ ValidationError
constructor
A new instance of ValidationError.
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_exception ⇒ Object
Returns the value of attribute icv_exception.
20 21 22 |
# File 'lib/grel.rb', line 20 def icv_exception @icv_exception end |