new Status(code, messageopt)
A Guacamole status. Each Guacamole status consists of a status code, defined
by the protocol, and an optional human-readable message, usually only
included for debugging convenience.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
code |
Number | The Guacamole status code, as defined by Guacamole.Status.Code. | |
message |
String |
<optional> |
An optional human-readable message. |
Members
(static) Code
Enumeration of all Guacamole status codes.
code :Number
The Guacamole status code.
Type:
- Number
- Source:
- See:
message :String
An arbitrary human-readable message associated with this status, if any.
The human-readable message is not required, and is generally provided
for debugging purposes only. For user feedback, it is better to translate
the Guacamole status code into a message.
Type:
- String
Methods
isError() → {Boolean}
Returns whether this status represents an error.
Returns:
true if this status represents an error, false
otherwise.
- Type
- Boolean