FirebaseError extension type

FirebaseError is a subclass of the standard JavaScript Error object. In addition to a message string and stack trace, it contains a string code.

on
Implemented types
Implementers
Available extensions

Properties

code String
Error codes are strings using the following format: "service/string-code". Some examples include "auth/invalid-uid" and "messaging/invalid-recipient".
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
An explanatory message for the error that just occurred.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stack String?
A string value containing the execution backtrace when the error originally occurred.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() JSObject
Returns a JSON-serializable object representation of this error.
toString() String
A string representation of this object.
inherited

Operators

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