Skip to content

Class: TimeoutError ​

Defined in: netconf/src/errors.ts:115

An operation didn't finish in time. phase says which.

Extends ​

Constructors ​

Constructor ​

ts
new TimeoutError(
   phase, 
   ms, 
   options?
): TimeoutError;

Defined in: netconf/src/errors.ts:122

Parameters ​

phase ​

TimeoutPhase

ms ​

number

options? ​

NetconfErrorOptions

Returns ​

TimeoutError

Overrides ​

NetconfError.constructor

Properties ​

code ​

ts
readonly code: "ERR_NETCONF_TIMEOUT" = 'ERR_NETCONF_TIMEOUT';

Defined in: netconf/src/errors.ts:118

Stable, machine-readable error code.

Overrides ​

NetconfError.code


name ​

ts
name: string = 'TimeoutError';

Defined in: netconf/src/errors.ts:117

Always 'TimeoutError'.

Overrides ​

NetconfError.name


phase ​

ts
readonly phase: TimeoutPhase;

Defined in: netconf/src/errors.ts:120

Which step timed out.

Released under the MIT Licence.