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 full)

Constructors

Properties

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