Cereal docs
TypeScript SDKTypeScript signatures

CerealError

Public TypeScript declaration from @trycereal/sdk.

Import from @trycereal/sdk. Generated from the repository SDK declarations (package version 0.0.0); not from HTTP request schemas.

export declare class CerealError extends Error {
    readonly tag: string;
    readonly data: Readonly<Record<string, unknown>>;
    constructor(tag: string, message: string, data?: Readonly<Record<string, unknown>>);
}

See SDK setup, authoring, client behavior, and the API/SDK map for usage. Domain types are described in schema reference.