FirebaseException class

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

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

Constructors

FirebaseException({@required String plugin, @required String message, String code: 'unknown'})
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. [...]
read-only, override
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.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override