@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
7 lines (6 loc) • 466 B
TypeScript
export declare class ForgeError extends Error {
code: "auth" | "not-found" | "forbidden" | "rate-limited" | "unavailable" | "invalid" | "conflict";
constructor(code: "auth" | "not-found" | "forbidden" | "rate-limited" | "unavailable" | "invalid" | "conflict", message: string);
}
/** The response and subprocess diagnostics may contain credentials or issue content. */
export declare function forgeFailure(status: number, rateLimited?: boolean): ForgeError;