@shopify/cli-kit
    Preparing search index...

    Class AdminServerError

    An Admin API request that failed on the Shopify side, such as an HTTP 5xx. It is an AbortError, so the CLI does not report it as a bug.

    Hierarchy (View Summary)

    Index
    • Creates the error with the store, the HTTP status and the request ID in its message.

      Parameters

      • storeFqdn: string

        The store that the request went to.

      • Optionalstatus: number

        The HTTP status of the response, when it is a 5xx.

      • OptionalrequestId: string

        The request ID of the response, when it has one.

      Returns AdminServerError

    code?: string

    A stable code for JSON consumers to identify this error, included only when known.

    customSections?: CustomSection[]
    details?: unknown

    Selected JSON-serializable data to include in JSON errors. Never attach the raw error or request.

    formattedMessage?: TokenItem
    nextSteps?: TokenItem<InlineToken>[]
    skipOclifErrorHandling: boolean
    tryMessage: TokenItem | null