DatabaseException class Null safety
Database exception.
- Implemented types
Constructors
- DatabaseException.badParam(String _message)
- Creates a bad param exception.
- DatabaseException.closed([String _message = 'database is closed'])
- Creates a database closed exception.
- DatabaseException.databaseNotFound(String _message)
- Creates a database not found exception.
- DatabaseException.invalidCodec(String _message)
- Creates an invalid codec exception.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Properties
- errBadParam ↔ int
-
Bad parameters
read / write
- errDatabaseClosed ↔ int
-
This is sent when an action happen after the database was closed.
read / write
- errDatabaseNotFound ↔ int
-
Database could not be found
read / write
- errInvalidCodec ↔ int
-
This is sent if the codec used does not match the one of the database
read / write