nabto_client_future_error_code()

DESCRIPTION

Retrieve error code from a future.

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API
nabto_client_future_error_code(NabtoClientFuture* future)

PARAMETERS

future:
[in] the future.

RETURNS

  • NABTO_CLIENT_EC_FUTURE_NOT_RESOLVED: if the future is not resolved yet.
  • NABTO_CLIENT_EC_: