openDAQ
Open data acquisition platform
Error Code Macros
+ Collaboration diagram for Error Code Macros:

Detailed Description

Macros

#define OPENDAQ_ERR_OUTOFRANGE   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x0005u)
 
#define OPENDAQ_ERR_NOTFOUND   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x0006u)
 
#define OPENDAQ_ERR_ALREADYEXISTS   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x000Au)
 
#define OPENDAQ_ERR_VALIDATE_FAILED   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x0030u)
 
#define OPENDAQ_ERR_COERCE_FAILED   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x0040u)
 

Macro Definition Documentation

◆ OPENDAQ_ERR_ALREADYEXISTS

#define OPENDAQ_ERR_ALREADYEXISTS   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x000Au)
0x8000000A

The object being added is already present in the target structure.

0x8000000A

The object being added is already present in the target structure.

CoreTypes Error Codes

◆ OPENDAQ_ERR_COERCE_FAILED

#define OPENDAQ_ERR_COERCE_FAILED   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x0040u)
0x80000040

Coercion of the passed value failed. The value does not adhere to the imposed type or content predicates. It cannot be coerced to fit to the provided value restrictions.

0x80000040

Coercion of the passed value failed. The value does not adhere to the imposed type or content predicates. It cannot be coerced to fit to the provided value restrictions.

CoreTypes Error Codes

◆ OPENDAQ_ERR_NOTFOUND

#define OPENDAQ_ERR_NOTFOUND   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x0006u)
0x80000006

Requested object is not a part of the target structure.

0x80000006

Requested object is not a part of the target structure.

CoreTypes Error Codes

◆ OPENDAQ_ERR_OUTOFRANGE

#define OPENDAQ_ERR_OUTOFRANGE   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x0005u)
0x80000005

The requested item index exceeds the target structure size.

0x80000005

The requested item index exceeds the target structure size.

CoreTypes Error Codes

◆ OPENDAQ_ERR_VALIDATE_FAILED

#define OPENDAQ_ERR_VALIDATE_FAILED   OPENDAQ_ERROR_CODE(OPENDAQ_ERRTYPE_GENERIC, 0x0030u)
0x80000030

Validation of the passed value failed. The value does not adhere to the imposed type or content predicates.

0x80000030

Validation of the passed value failed. The value does not adhere to the imposed type or content predicates.

CoreTypes Error Codes