Exception: Expressir::ReferentialIntegrityError
- Inherits:
-
ValidationError
- Object
- StandardError
- Error
- ValidationError
- Expressir::ReferentialIntegrityError
- Defined in:
- lib/expressir/errors.rb
Instance Attribute Summary collapse
-
#unresolved_references ⇒ Object
readonly
Returns the value of attribute unresolved_references.
Attributes inherited from ValidationError
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(unresolved_references, message: "Referential integrity check failed") ⇒ ReferentialIntegrityError
constructor
A new instance of ReferentialIntegrityError.
Constructor Details
#initialize(unresolved_references, message: "Referential integrity check failed") ⇒ ReferentialIntegrityError
Returns a new instance of ReferentialIntegrityError.
83 84 85 86 87 |
# File 'lib/expressir/errors.rb', line 83 def initialize(unresolved_references, message: "Referential integrity check failed") @unresolved_references = unresolved_references super() end |
Instance Attribute Details
#unresolved_references ⇒ Object (readonly)
Returns the value of attribute unresolved_references.
81 82 83 |
# File 'lib/expressir/errors.rb', line 81 def unresolved_references @unresolved_references end |