Setu-TS
    Preparing search index...

    Interface GraphqlFormattedError

    Formatted GraphQL error as returned to the client.

    This matches the GraphQL-over-HTTP spec shape. The plugin masks internal errors before formatting.

    0.1.0

    interface GraphqlFormattedError {
        extensions?: Record<string, unknown>;
        locations?: { column: number; line: number }[];
        message: string;
        path?: (string | number)[];
    }
    Index
    extensions?: Record<string, unknown>

    Optional extensions for application-specific error codes.

    locations?: { column: number; line: number }[]

    Optional locations in the query document.

    message: string

    Human-readable error message.

    path?: (string | number)[]

    Optional path to the field where the error occurred.