KoolbasePermissionException class

Thrown when the caller is authenticated but not allowed to perform the operation — the server responds with 403 and code permission_denied (typically a collection access rule rejecting the write/read).

Inheritance

Constructors

KoolbasePermissionException([String message = 'You do not have permission to perform this action'])
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

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