Skip to Content
Packages@tuwaio/siwx-coreClassesSiwxIssuedAtFutureError

SiwxIssuedAtFutureError

Defined in: errors.ts:219 

Policy violation: the message issuedAt lies in the future beyond the allowed clock skew. Code: SIWX_ISSUED_AT_FUTURE. Not thrown by SIWX itself; see SiwxPolicyViolationError.

Extends

Constructors

Constructor

new SiwxIssuedAtFutureError(issuedAt, clockSkewSeconds): SiwxIssuedAtFutureError

Defined in: errors.ts:224 

Parameters

issuedAt

string

The issuedAt found in the message.

clockSkewSeconds

number

The allowed clock skew, in seconds.

Returns

SiwxIssuedAtFutureError

Overrides

SiwxPolicyViolationError.constructor

Properties

clockSkewSeconds

readonly clockSkewSeconds: number

Defined in: errors.ts:226 

The allowed clock skew, in seconds.


code

readonly code: string = 'SIWX_ERROR'

Defined in: errors.ts:18 

Machine-readable error code, for example SIWX_PARSE_ERROR. Each subclass passes its own code; SIWX_ERROR is used only by the base class.

Inherited from

SiwxPolicyViolationError.code


issuedAt

readonly issuedAt: string

Defined in: errors.ts:225 

The issuedAt found in the message.

Last updated on