Documentation
Classes
AbortError

Class: AbortError

Extends

  • Error

Constructors

new AbortError(message)

new AbortError(message): AbortError

Parameters

ParameterType
messagestring | Error

Returns

AbortError

Overrides

Error.constructor

Source

src/prompt/utils/errors.ts:5 (opens in a new tab)

Properties

ModifierPropertyTypeDescriptionInheritanceSource
readonlyname"AbortError"-Error.namesrc/prompt/utils/errors.ts:2 (opens in a new tab)
readonlyoriginalErrorError--src/prompt/utils/errors.ts:3 (opens in a new tab)