Class: AbortError

Defined in: errors.ts:235

Error thrown when a request is aborted via AbortSignal.

Extends

Constructors

Constructor

new AbortError(message?): AbortError;

Defined in: errors.ts:236

Parameters

Parameter Type Default value
message string 'Request was aborted'

Returns

AbortError

Overrides

AgentError.constructor

Properties

cause?

readonly optional cause?: Error;

Defined in: errors.ts:17

Inherited from

AgentError.cause