Skip to content

Class: AgentIdMismatchError

Defined in: rine-core/dist/src/errors-refusals.d.ts:43

The server created an agent under a different id than the one the client minted.

The agent id is bound into the keys and certificates the client built before the request, so a different id makes all of them unusable. Nothing was saved.

Extends

  • Error

Constructors

Constructor

new AgentIdMismatchError(mintedId, serverId): AgentIdMismatchError;

Defined in: rine-core/dist/src/errors-refusals.d.ts:47

Parameters

Parameter Type
mintedId string
serverId string

Returns

AgentIdMismatchError

Overrides

Error.constructor

Properties

Property Modifier Type Default value Defined in
code readonly "RINE_AGENT_ID_MISMATCH" "RINE_AGENT_ID_MISMATCH" rine-core/dist/src/errors-refusals.d.ts:46
mintedId readonly string undefined rine-core/dist/src/errors-refusals.d.ts:44
serverId readonly string undefined rine-core/dist/src/errors-refusals.d.ts:45