Skip to main content

Class: InvalidOriginError

The request was made from an origin that is not permitted to access this resource.

Extends

  • EError

Constructors

new InvalidOriginError()

new InvalidOriginError(message, errorId?): InvalidOriginError

Creates an instance of EError.

Parameters

message: string = 'An error occurred'

The error message.

errorId?: string

An optional error ID.

Returns

InvalidOriginError

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