Class: OrgMismatchError¶
Defined in: rine-core/dist/src/errors-refusals.d.ts:31
The server names a different org than the one this profile was created under.
Raised by whoami() before anything is trusted: a server that answers with
another org's id is either misconfigured or an impersonation, and every key
pin in this profile belongs to the org it recorded.
Extends¶
Error
Constructors¶
Constructor¶
Defined in: rine-core/dist/src/errors-refusals.d.ts:35
Parameters¶
| Parameter | Type |
|---|---|
localOrgId |
string |
serverOrgId |
string |
Returns¶
OrgMismatchError