The best way to control Claude Code, Codex and more from any computer or phone

main
ts 8 lines 254 Bytes
Raw
1 import * as Domain from "@alchemy.run/domain";
2 import { Cents } from "../Money.ts";
3
4 /** The balance does not cover the amount. */
5 export class InsufficientFunds extends Domain.Rejection("InsufficientFunds", {
6 balance: Cents,
7 requested: Cents,
8 }) {}