Skip to content

CertificateTimeErrorCode

Defined in: packages/core/src/agent/errors.ts:216

  • ErrorCode

new CertificateTimeErrorCode(maxAgeInMinutes, certificateTime, currentTime, timeDiffMsecs, ageType): CertificateTimeErrorCode

Defined in: packages/core/src/agent/errors.ts:219

number

Date

Date

number

"past" | "future"

CertificateTimeErrorCode

ErrorCode.constructor

readonly ageType: "past" | "future"

Defined in: packages/core/src/agent/errors.ts:224


optional callContext: CallContext

Defined in: packages/core/src/agent/errors.ts:40

ErrorCode.callContext


readonly certificateTime: Date

Defined in: packages/core/src/agent/errors.ts:221


readonly currentTime: Date

Defined in: packages/core/src/agent/errors.ts:222


readonly isCertified: boolean = false

Defined in: packages/core/src/agent/errors.ts:42

ErrorCode.isCertified


readonly maxAgeInMinutes: number

Defined in: packages/core/src/agent/errors.ts:220


name: string = 'CertificateTimeErrorCode'

Defined in: packages/core/src/agent/errors.ts:217


optional requestContext: RequestContext

Defined in: packages/core/src/agent/errors.ts:39

ErrorCode.requestContext


readonly timeDiffMsecs: number

Defined in: packages/core/src/agent/errors.ts:223

toErrorMessage(): string

Defined in: packages/core/src/agent/errors.ts:230

string

ErrorCode.toErrorMessage


toString(): string

Defined in: packages/core/src/agent/errors.ts:46

string

ErrorCode.toString