NAME

Tinkerforge::Error - Used for all error reporting

CONSTANTS

ALREADY_CONNECTED

Possible return value of the get_code() subroutine.

NOT_CONNECTED

Possible return value of the get_code() subroutine.

CONNECT_FAILED

Possible return value of the get_code() subroutine.

NO_THREAD

Possible return value of the get_code() subroutine.

INVALID_FUNCTION_ID

Possible return value of the get_code() subroutine.

TIMEOUT

Possible return value of the get_code() subroutine.

INVALID_PARAMETER

Possible return value of the get_code() subroutine.

FUNCTION_NOT_SUPPORTED

Possible return value of the get_code() subroutine.

UNKNOWN_ERROR

Possible return value of the get_code() subroutine.

STREAM_OUT_OF_SYNC

Possible return value of the get_code() subroutine.

INVALID_UID

Possible return value of the get_code() subroutine.

NON_ASCII_CHAR_IN_SECRET

Possible return value of the get_code() subroutine.

WRONG_DEVICE_TYPE

Possible return value of the get_code() subroutine.

DEVICE_REPLACED

Possible return value of the get_code() subroutine.

WRONG_RESPONSE_LENGTH

Possible return value of the get_code() subroutine.

FUCNTIONS

get_code()

Returns the code of this error.

get_message()

Returns the message of this error.