DatumExceptionCode enum
Values
- unknown → const DatumExceptionCode
-
An unknown or unhandled error occurred.
- networkError → const DatumExceptionCode
-
A network-related error occurred (e.g., no internet connection, timeout).
- conflictDetected → const DatumExceptionCode
-
A conflict was detected during synchronization that could not be resolved automatically.
- schemaMismatch → const DatumExceptionCode
-
The local and remote schema versions do not match, requiring a migration.
- entityNotFound → const DatumExceptionCode
-
An entity with the specified ID was not found.
- adapterError → const DatumExceptionCode
-
An error occurred within a LocalAdapter or RemoteAdapter implementation.
- serializationError → const DatumExceptionCode
-
An error occurred during serialization or deserialization of data.
- authenticationError → const DatumExceptionCode
-
Authentication failed (e.g., invalid credentials, token expired).
-
Authorization failed (e.g., insufficient permissions to access a resource).
- validationError → const DatumExceptionCode
-
A validation error occurred (e.g., invalid input data).
- timeout → const DatumExceptionCode
-
An operation timed out.
- cancelled → const DatumExceptionCode
-
The operation was cancelled.
- preconditionFailed → const DatumExceptionCode
-
A precondition for an operation was not met.
- serverError → const DatumExceptionCode
-
The server responded with an error.
- badRequest → const DatumExceptionCode
-
The client made a bad request.
-
The requested resource is unavailable.
- migrationError → const DatumExceptionCode
-
Migration Failed
- userSwitchError → const DatumExceptionCode
-
User switch failed
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
DatumExceptionCode> - A constant List of the values in this enum, in order of their declaration.