FirebaseDatabaseException class
- Inheritance
-
- Object
- FirebaseException
- FirebaseDatabaseException
Constructors
- FirebaseDatabaseException({required String code, String? message, String? details})
- FirebaseDatabaseException.appDeleted()
- Thrown when the operation could not complete because the app was deleted
- FirebaseDatabaseException.dataStale()
- Thrown when the transaction needs to be run again with current data
- FirebaseDatabaseException.disconnected()
- Thrown when the operation had to be aborted due to a network disconnect
- FirebaseDatabaseException.expiredToken()
- Thrown when the supplied auth token has expired
- FirebaseDatabaseException.invalidToken()
- Thrown when the specified authentication token is invalid.
- FirebaseDatabaseException.maxRetries()
- Thrown when the transaction had too many retries
- FirebaseDatabaseException.networkError()
- Thrown when the operation could not be performed due to a network error
- FirebaseDatabaseException.operationFailed()
- Thrown when the server indicated that this operation failed
- FirebaseDatabaseException.overriddenBySet()
- Thrown when the transaction was overridden by a subsequent set
- FirebaseDatabaseException.permissionDenied()
- Thrown when this client does not have permission to perform this operation
- Thrown when the service is unavailable
- FirebaseDatabaseException.unknownError()
- Thrown when an unknown error occurred.
- FirebaseDatabaseException.userCodeException()
- Thrown when an exception occurred in user code
- FirebaseDatabaseException.writeCanceled()
- Thrown when the write was canceled locally
Properties
- code → String
-
The optional code to accommodate the message.
finalinherited
- details → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
The long form message of the exception.
finalinherited
- plugin → String
-
The plugin the exception is for.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace which provides information to the user about the call
sequence that triggered an exception
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replace(
{String? message}) → FirebaseDatabaseException -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited