Foodtruck Order — TypeScript Reference - v0.1.0
    Preparing search index...

    Interface ApiErrorBody

    Backward-compatible API error response. Only error is required.

    interface ApiErrorBody {
        code?: ApiErrorCode;
        error: string;
        issues?: ApiFieldIssue[];
        requestId?: string;
    }
    Index

    Stable error category, when one applies.

    error: string

    Short human-readable description; never contains internal details.

    issues?: ApiFieldIssue[]

    Safe validation issues for public, route-allowlisted fields.

    requestId?: string

    Server correlation identifier matching the X-Request-ID header.