DriftWrappedException class Null safety
A wrapper class for internal exceptions thrown by the underlying database engine when drift can give additional context or help.
For instance, when we know that an invalid statement has been constructed, we catch the database exception and try to explain why that has happened.
- Implemented types
- cause → Object?
The underlying exception caught by drift
- hashCode → int
The hash code for this object. [...]
- message → String
Contains a possible description of why the underlying cause occurred,
for instance because a drift api was misused.
- runtimeType → Type
A representation of the runtime type of the object.
- trace → StackTrace?
The original stacktrace when caught by drift