Exception: Expressir::ReferentialIntegrityError

Inherits:
ValidationError show all
Defined in:
lib/expressir/errors.rb

Instance Attribute Summary collapse

Attributes inherited from ValidationError

#errors

Attributes inherited from Error

#details

Instance Method Summary collapse

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(message)
end

Instance Attribute Details

#unresolved_referencesObject (readonly)

Returns the value of attribute unresolved_references.



81
82
83
# File 'lib/expressir/errors.rb', line 81

def unresolved_references
  @unresolved_references
end