RemoteCancellation class
Some unexpected errors can send a cancel
event and terminate the
connection. The cause is described in the reason provided for this
Exception. Some potential causes are as follows:
- The Firebase Realtime Database Rules no longer allow a read at the requested location. The reason description for this cause is "Permission denied."
- A write triggered an event streamer that sent a large JSON tree that exceeds our limit, 512MB. The reason for this cause is "The specified payload is too large, please request a location with less data."
- Implemented types
Constructors
- RemoteCancellation(String reason)
- Default constructor.
Properties
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.
inherited