new Status(codenon-null, 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. |
- Source:
Members
(static) Code
Enumeration of all Guacamole status codes.
- Source:
(non-null) 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
- Source:
Methods
isError() → (non-null) {boolean}
Returns whether this status represents an error.
- Source:
Returns:
true if this status represents an error, false otherwise.
- Type
- boolean