nabto_device_error_get_message()

DESCRIPTION

Get message assosiated with an error code. The returned pointer must not be freed.

DECLARATION

NABTO_DEVICE_DECL_PREFIX const char* NABTO_DEVICE_API
nabto_device_error_get_message(NabtoDeviceError error)

PARAMETERS

error:
[in] The error code.

RETURNS

Zero-terminated string describing the error.