nano-client API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

Enumerations

enum  NANO_RetCode {
  NANO_RETCODE_OK = 0x00, NANO_RETCODE_ERROR = 0x01, NANO_RETCODE_OUT_OF_RESOURCES = 0x02, NANO_RETCODE_ALREADY_EXISTS = 0x03,
  NANO_RETCODE_UNKNOWN_REFERENCE = 0x04, NANO_RETCODE_INVALID_ARGS = 0x05, NANO_RETCODE_PRECONDITION_NOT_MET = 0x06, NANO_RETCODE_OVERFLOW_DETECTED = 0x07,
  NANO_RETCODE_TIMEOUT = 0x08, NANO_RETCODE_PROTOCOL_ERROR = 0x09, NANO_RETCODE_TRY_AGAIN = 0x10
}
 An enumeration of return codes to convery the outcome for all NANO operations. More...
 

Detailed Description

Enumeration Type Documentation

◆ NANO_RetCode

An enumeration of return codes to convery the outcome for all NANO operations.

Enumerator
NANO_RETCODE_OK 

The operation succeeded.

NANO_RETCODE_ERROR 

The operation failed because of an unspecified error.

NANO_RETCODE_OUT_OF_RESOURCES 

The operation failed because of insufficient resources.

NANO_RETCODE_ALREADY_EXISTS 

The operation failed because the resource already exists.

NANO_RETCODE_UNKNOWN_REFERENCE 

The operation failed because the referenced resource does not exist.

NANO_RETCODE_INVALID_ARGS 

The operation failed because it was passed invalid arguments.

NANO_RETCODE_PRECONDITION_NOT_MET 

The operation failed because a precondition was not met.

NANO_RETCODE_OVERFLOW_DETECTED 

The operation failed because a numerical overflow occurred.

NANO_RETCODE_TIMEOUT 

A timeout occurred while performing an operation.

NANO_RETCODE_PROTOCOL_ERROR 

The operation failed because it detected a violation of an established protocol.

NANO_RETCODE_TRY_AGAIN 

The operation failed and it should be tried again at a later time.