Skip to main content

Class: PreconditionFailedError

The server does not meet one of the preconditions that the requester put on the request.

Extends

  • EError

Constructors

new PreconditionFailedError()

new PreconditionFailedError(message, errorId?): PreconditionFailedError

Creates an instance of EError.

Parameters

message: string = 'An error occurred'

The error message.

errorId?: string

An optional error ID.

Returns

PreconditionFailedError

Inherited from

EError.constructor

Defined in

packages/core/src/error-handler.ts:11

Properties

errorId?

optional errorId: string;

An optional error ID.

Inherited from

EError.errorId

Defined in

packages/core/src/error-handler.ts:13