SiwxIssuedAtStaleError
Defined in: errors.ts:198
Policy violation: the message issuedAt is older than the allowed maximum age. Code: SIWX_ISSUED_AT_STALE.
Not thrown by SIWX itself; see SiwxPolicyViolationError.
Extends
Constructors
Constructor
new SiwxIssuedAtStaleError(
issuedAt,maxAgeSeconds):SiwxIssuedAtStaleError
Defined in: errors.ts:203
Parameters
issuedAt
string
The issuedAt found in the message.
maxAgeSeconds
number
The allowed maximum age, in seconds.
Returns
SiwxIssuedAtStaleError
Overrides
SiwxPolicyViolationError.constructor
Properties
code
readonlycode: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
issuedAt
readonlyissuedAt:string
Defined in: errors.ts:204
The issuedAt found in the message.
maxAgeSeconds
readonlymaxAgeSeconds:number
Defined in: errors.ts:205
The allowed maximum age, in seconds.