CertificateTimeErrorCode
Defined in: packages/agent/src/errors.ts:204
Extends
Section titled “Extends”ErrorCode
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CertificateTimeErrorCode(
maxAgeInMinutes
,certificateTime
,currentTime
,ageType
):CertificateTimeErrorCode
Defined in: packages/agent/src/errors.ts:207
Parameters
Section titled “Parameters”maxAgeInMinutes
Section titled “maxAgeInMinutes”number
certificateTime
Section titled “certificateTime”Date
currentTime
Section titled “currentTime”Date
ageType
Section titled “ageType”"past"
| "future"
Returns
Section titled “Returns”CertificateTimeErrorCode
Overrides
Section titled “Overrides”ErrorCode.constructor
Properties
Section titled “Properties”ageType
Section titled “ageType”
readonly
ageType:"past"
|"future"
Defined in: packages/agent/src/errors.ts:211
callContext?
Section titled “callContext?”
optional
callContext:CallContext
Defined in: packages/agent/src/errors.ts:35
Inherited from
Section titled “Inherited from”ErrorCode.callContext
certificateTime
Section titled “certificateTime”
readonly
certificateTime:Date
Defined in: packages/agent/src/errors.ts:209
currentTime
Section titled “currentTime”
readonly
currentTime:Date
Defined in: packages/agent/src/errors.ts:210
isCertified
Section titled “isCertified”
readonly
isCertified:boolean
=false
Defined in: packages/agent/src/errors.ts:37
Inherited from
Section titled “Inherited from”ErrorCode.isCertified
maxAgeInMinutes
Section titled “maxAgeInMinutes”
readonly
maxAgeInMinutes:number
Defined in: packages/agent/src/errors.ts:208
name:
string
='CertificateTimeErrorCode'
Defined in: packages/agent/src/errors.ts:205
requestContext?
Section titled “requestContext?”
optional
requestContext:RequestContext
Defined in: packages/agent/src/errors.ts:34
Inherited from
Section titled “Inherited from”ErrorCode.requestContext
Methods
Section titled “Methods”toErrorMessage()
Section titled “toErrorMessage()”toErrorMessage():
string
Defined in: packages/agent/src/errors.ts:217
Returns
Section titled “Returns”string
Overrides
Section titled “Overrides”ErrorCode.toErrorMessage
toString()
Section titled “toString()”toString():
string
Defined in: packages/agent/src/errors.ts:41
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”ErrorCode.toString