KoolbasePlanLimitException class

The project's plan does not allow this — a 402 carrying which resource, the limit, and the plan.

Shared rather than per-family: creating a collection, uploading an object and deploying a function can all hit it, and an app showing an upgrade prompt wants one type to catch.

Inheritance

Constructors

KoolbasePlanLimitException(String message, {String? resource, int? limit, String? plan})
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
limit → int?
final
message → String
What went wrong, in words. From the server where it said something useful.
finalinherited
plan → String?
final
resource → String?
final
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