SiwxUriMismatchError
Defined in: errors.ts:161
Policy violation: the message uri does not match the expected URIs. Code: SIWX_URI_MISMATCH.
Not thrown by SIWX itself; see SiwxPolicyViolationError.
Extends
Constructors
Constructor
new SiwxUriMismatchError(
expected,received):SiwxUriMismatchError
Defined in: errors.ts:166
Parameters
expected
string | string[]
The expected URI or URIs.
received
string
The uri found in the message.
Returns
SiwxUriMismatchError
Overrides
SiwxPolicyViolationError.constructor
Properties
code
readonlycode:string='SIWX_ERROR'
Defined in: errors.ts:18
Machine-readable error code, for example SIWX_PARSE_ERROR. Each subclass passes its own code;
SIWX_ERROR is used only by the base class.
Inherited from
expected
readonlyexpected:string|string[]
Defined in: errors.ts:167
The expected URI or URIs.
received
readonlyreceived:string
Defined in: errors.ts:168
The uri found in the message.