OrmException class final

An ORM failure with a stable machine-readable code and optional cause.

Implemented types

Constructors

OrmException(String code, String message, {Object? cause})
Creates a classified failure while retaining an optional original cause.
const

Properties

cause → Object?
Underlying driver or runtime failure, when one is available.
final
code → String
Failure identifier, such as QUERY.SCOPE or SESSION.CLOSED.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable context explaining the failure.
final
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