FirestoreClientErrorCode enum

Firestore client error codes and their default messages.

Inheritance
Available extensions

Values

aborted → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'aborted', message: 'The operation was aborted, typically due to a concurrency issue like transaction aborts, etc.')
alreadyExists → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'already-exists', message: 'Some document that we attempted to create already exists.')
cancelled → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'cancelled', message: 'The operation was cancelled (typically by the caller).')
dataLoss → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'data-loss', message: 'Unrecoverable data loss or corruption.')
deadlineExceeded → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'deadline_exceeded', message: 'Deadline expired before operation could complete.')
failedPrecondition → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'failed_precondition', message: "Operation was rejected because the system is not in a state required for the operation's execution.")
internal → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'internal', message: 'Internal errors.')
invalidArgument → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'invalid_argument', message: 'Client specified an invalid argument.')
notFound → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'not_found', message: 'Some requested document was not found.')
ok → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'ok', message: 'The operation completed successfully.')
outOfRange → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'out_of_range', message: 'Operation was attempted past the valid range.')
permissionDenied → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'permission_denied', message: 'The caller does not have permission to execute the specified operation.')
resourceExhausted → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'resource_exhausted', message: 'Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.')
unauthenticated → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'unauthenticated', message: 'The request does not have valid authentication credentials for the operation.')
unavailable → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'unavailable', message: 'The service is currently unavailable.')
unimplemented → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'unimplemented', message: 'Operation is not implemented or not supported/enabled.')
unknown → const FirestoreClientErrorCode
const FirestoreClientErrorCode(code: 'unknown', message: 'Unknown error or an error from a different error domain.')

Properties

code String
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
message String
final
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<FirestoreClientErrorCode>
A constant List of the values in this enum, in order of their declaration.