FirebaseException class

A generic class which provides exceptions in a Firebase-friendly format to users.

try {
  await Firebase.initializeApp();
} on FirebaseException catch (e) {
  print(e.toString());
}
Implemented types
Implementers
Annotations

Constructors

FirebaseException({required String plugin, String? message, String? code, StackTrace? stackTrace})
A generic class which provides exceptions in a Firebase-friendly format to users.

Properties

code String
The optional code to accommodate the message.
final
hashCode int
The hash code for this object.
no setteroverride
message String?
The long form message of the exception.
final
plugin String
The plugin the exception is for.
final
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
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override