KoolbaseDanglingReferencesException class

Thrown when a reference cannot be declared because existing records already point at records that do not exist — 409 dangling_references.

dangling lists the offending records so they can be repaired; Koolbase never repairs them for you. It is capped at the first 50.

Inheritance

Constructors

KoolbaseDanglingReferencesException([String message = 'Existing records point at records that do not exist', List<({String recordId, String value})> dangling = const []])
const

Properties

code → String?
The server's stable error code, when it sent one. Prefer branching on the exception type; this is for logging and for codes the SDK does not yet map.
finalinherited
dangling → List<({String recordId, String value})>
The records whose reference points at nothing, as record id to value.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
What went wrong, in words. From the server where it said something useful.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited