MoorWrappedException typedef

  1. @moorDeprecated
MoorWrappedException = DriftWrappedException

A wrapper class for internal exceptions thrown by the underlying database engine when moor 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.

Implementation

@pragma('moor2drift', 'DriftWrappedException')
@moorDeprecated
typedef MoorWrappedException = DriftWrappedException;