RelayError
Custom error class for Relay protocol errors. Extends JavaScript’s built-in Error
class. The name property is always "RelayError".
Properties
code
Numeric error code returned by the Relay server.
message
"RELAY error {code}: {serverMessage}". The standard Error message,
prefixed with the code.
serverMessage
The server’s own error text, without the RELAY error prefix. Read this to
match on or display the server’s wording.
name
Always "RelayError".