FunctionPermissionException class

The caller may not invoke this Function.

Distinct from an authentication failure: the credentials were accepted and this caller is not permitted. Retrying will not help and signing the user out would be wrong.

Inheritance

Constructors

FunctionPermissionException(String message)
const

Properties

code String?
The server's stable error code, when it sent one. Prefer branching on the exception type; this is for logging and for codes the SDK does not yet map.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
What went wrong, in words. From the server where it said something useful.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
The HTTP status, when the call reached the server.
finalinherited

Methods

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

Operators

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