Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

VncException

extends:Error
vncsdk.VncException

Thrown to indicate that the SDK has encountered an exceptional condition.

Constructor Summary

Modifier and Type Method and Description

VncException(errorCode, callingFunction)

Constructs a VncException with the given error code and the name of the function that produced it.

Method Summary

Modifier and Type Method and Description
string

toString()

Returns the name of this error.

Constructor

class vncsdk.VncException(errorCode, callingFunction)

Constructs a VncException with the given error code and the name of the function that produced it.

Arguments:
  • errorCode (string) – The error code string.
  • callingFunction (string) – The name of the function that produced the error.

Methods

VncException.toString()

Returns the name of this error.

Return type:string

Attributes

VncException.errorCode

Contains the string code; values are listed for each function in the C API reference.

Type:string
×