Skip to content

CertificateTimeErrorCode

Defined in: packages/agent/src/errors.ts:204

  • ErrorCode

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

Defined in: packages/agent/src/errors.ts:207

number

Date

Date

"past" | "future"

CertificateTimeErrorCode

ErrorCode.constructor

readonly ageType: "past" | "future"

Defined in: packages/agent/src/errors.ts:211


optional callContext: CallContext

Defined in: packages/agent/src/errors.ts:35

ErrorCode.callContext


readonly certificateTime: Date

Defined in: packages/agent/src/errors.ts:209


readonly currentTime: Date

Defined in: packages/agent/src/errors.ts:210


readonly isCertified: boolean = false

Defined in: packages/agent/src/errors.ts:37

ErrorCode.isCertified


readonly maxAgeInMinutes: number

Defined in: packages/agent/src/errors.ts:208


name: string = 'CertificateTimeErrorCode'

Defined in: packages/agent/src/errors.ts:205


optional requestContext: RequestContext

Defined in: packages/agent/src/errors.ts:34

ErrorCode.requestContext

toErrorMessage(): string

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

string

ErrorCode.toErrorMessage


toString(): string

Defined in: packages/agent/src/errors.ts:41

string

ErrorCode.toString