QUOTA_EXCEEDED
You've hit a plan limit.
HTTP status: 403
Why this happens
You've hit a plan-imposed limit (concurrent sandboxes, storage, etc.).
How to recover
Wait for usage to drop, free a sandbox, or upgrade your plan in /billing.
Branching on this code
TypeScript
import { ApiError } from "@firecase/sdk";
try {
await firecase.someCall();
} catch (e) {
if (e instanceof ApiError && e.code === "QUOTA_EXCEEDED") {
// recover here
}
throw e;
}