SiwxParseError
Defined in: errors.ts:30
Thrown by parseMessage when a string is not a well-formed CAIP-122 message (wrong header, missing
blank lines or missing required fields). Code: SIWX_PARSE_ERROR.
Extends
Constructors
Constructor
new SiwxParseError(
message):SiwxParseError
Defined in: errors.ts:34
Parameters
message
string
Human-readable description of the parse failure.
Returns
SiwxParseError
Overrides
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
Last updated on