b1987dc090
## Summary Adds Billing Limits to the webapp. Customers can set a monthly spend cap. When usage crosses the limit, billable environments enter a grace period. If the limit is not resolved before grace expires, new triggers are rejected until the organization increases or removes the limit.
7 lines
192 B
TypeScript
7 lines
192 B
TypeScript
export class OutOfEntitlementError extends Error {
|
|
constructor() {
|
|
super("You can't trigger a task because you have run out of credits.");
|
|
this.name = "OutOfEntitlementError";
|
|
}
|
|
}
|