UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

19 lines (18 loc) 529 B
/** * Error thrown when the eve server returns a non-successful HTTP response. */ export declare class ClientError extends Error { /** * HTTP status code returned by the server. */ readonly status: number; /** * Raw response body text. */ readonly body: string; /** * Response headers, normalized to lowercase names. */ readonly headers: Readonly<Record<string, string>>; constructor(status: number, body: string, headers?: ConstructorParameters<typeof Headers>[0]); }