kinetex - v1.0.0-rc.1
    Preparing search index...

    Interface GraphQLError

    A single error returned in a GraphQL response errors array (spec §6.4).

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

    Properties

    message: string

    Human-readable error description

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

    Source locations in the query document that triggered the error. Each entry has a line and column number (1-indexed).

    Type Declaration

    • line: number

      Line number (1-indexed).

    • column: number

      Column number (1-indexed).

    path?: (string | number)[]

    Path to the field that caused the error (field names / array indices)

    extensions?: Record<string, unknown>

    Server-defined extension data (error code, stack trace, etc.)