DeviceInfo.lastErrorCode Property

Module: DeviceInfo

Type: int

Definition

Stores the last error code encountered by the device, useful for debugging and error handling, and is read-only.

last_error_code: int

Exceptions

An error has occurred during Devices Library execution.
int get lastErrorCode => getLastErrorCode();

Exceptions

An error has occurred during Devices Library execution.
public int lastErrorCode
{
    get => GetlastErrorCode();
}

Exceptions

An error has occurred during Devices Library execution.
public int getLastErrorCode() throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceInfo_GetLastErrorCode (ID3_DEVICES_DEVICE_INFO hDeviceInfo, int * lastErrorCode)

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.