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

    Class ExternalError

    An external error is similar to Abort but has extra command and args attributes. This is useful to represent errors coming from external commands, usually executed by execa.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • message: OutputMessage
      • command: string
      • args: string[]
      • tryMessage:
            | string
            | TokenizedString
            | { command: string }
            | LinkToken
            | { char: string }
            | UserInputToken
            | { subdued: string }
            | { filePath: string }
            | ListToken
            | BoldToken
            | { info: string }
            | { warn: string }
            | { error: string }
            | Token[]
            | null = null

      Returns ExternalError

    Properties

    args: string[]
    command: string
    customSections?: CustomSection[]
    formattedMessage?: TokenItem
    nextSteps?: TokenItem<InlineToken>[]
    skipOclifErrorHandling: boolean
    tryMessage: TokenItem | null