Provides error information for commands.
The CommandErrorEvent
will be provided on a onCommandError
callback to a caplin.streamlink.CommandListener.
Attributes | Name and Description |
---|---|
|
caplin.streamlink.CommandErrorEvent()
|
Attributes | Name and Description |
---|---|
|
void
getError()
* Returns the caplin.streamlink.CommandErrorType of the event. |
|
void
getErrorReason()
* Returns the caplin.streamlink.ErrorReason of the event. |
►
caplin.streamlink.CommandErrorEvent()
►
void
getError()
*
Returns the caplin.streamlink.CommandErrorType of the event.
* * @returns {caplin.streamlink.CommandErrorType} The type of error.
►
void
getErrorReason()
*
Returns the caplin.streamlink.ErrorReason of the event.
* * @returns {caplin.streamlink.ErrorReason} The error reason.