Skip to content

CertificateTimeErrorCode

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

  • ErrorCode

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

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

number

Date

Date

number

"past" | "future"

CertificateTimeErrorCode

ErrorCode.constructor

readonly ageType: "past" | "future"

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


optional callContext: CallContext | PollingCallContext

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

ErrorCode.callContext


readonly certificateTime: Date

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


readonly currentTime: Date

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


readonly isCertified: boolean = false

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

ErrorCode.isCertified


readonly maxAgeInMinutes: number

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


name: string = 'CertificateTimeErrorCode'

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


optional requestContext: RequestContext

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

ErrorCode.requestContext


readonly timeDiffMsecs: number

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

toErrorMessage(): string

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

string

ErrorCode.toErrorMessage


toString(): string

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

string

ErrorCode.toString