TrustCore SDK NanoTAP API reference  version 3.0
merrors.h File Reference

Digicert Error Definitions. More...

Go to the source code of this file.

Data Structures

struct  errDescr
 Enum containing Digicert defined error codes and readable names for each error. More...
 

Macros

#define __ERROR_TAP_RC_DEF__
 
#define MOC_CHECK(X)   if(OK > (status = (X))){ goto exit; }
 Helper macro for a common error checking idiom. More...
 

Typedefs

typedef sbyte4 TAP_RC
 

Functions

MOC_EXTERN const ubyteMERROR_lookUpErrorCode (MSTATUS errorCode)
 

Detailed Description

This header file contains Digicert error definitions used by all Digicert components.

Flags
To enable this file's functions, the following flags must be defined in moptions.h:
  • __ENABLE_LOOKUP_TABLE__
Additionally, the following flags must not be defined:
  • ERROR_LOOKUP_TABLE
Copyright 2019-2024 DigiCert, Inc. All Rights Reserved. Proprietary and Confidential Material.

Macro Definition Documentation

◆ MOC_CHECK

#define MOC_CHECK (   X)    if(OK > (status = (X))){ goto exit; }
Note
To use this macro, you must have a local MSTATUS variable named status, and a label named exit.