An abort error is a fatal error that shouldn't be reported as a bug. Those usually represent unexpected scenarios that we can't handle and that usually require some action from the developer.

Hierarchy (View Summary)

Constructors

  • Parameters

    • message:
          | string
          | TokenizedString
          | { command: string }
          | LinkToken
          | { char: string }
          | UserInputToken
          | { subdued: string }
          | { filePath: string }
          | ListToken
          | BoldToken
          | { info: string }
          | { warn: string }
          | { error: string }
          | Token[]
    • tryMessage:
          | null
          | string
          | TokenizedString
          | { command: string }
          | LinkToken
          | { char: string }
          | UserInputToken
          | { subdued: string }
          | { filePath: string }
          | ListToken
          | BoldToken
          | { info: string }
          | { warn: string }
          | { error: string }
          | Token[] = null
    • OptionalnextSteps: TokenItem<InlineToken>[]
    • OptionalcustomSections: CustomSection[]

    Returns OutsideGitDirectoryError

Properties

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