HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CE_Error.h File Reference
#include "CE_API.h"
#include <UT/UT_StringHolder.h>
#include <UT/UT_WorkBuffer.h>
+ Include dependency graph for CE_Error.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CE_Error
 

Functions

CE_API UT_StringHolder CE_FormatOCLError (int errorcode, const char *errorstring=nullptr)
 
CE_API void CE_FormatOCLError (UT_WorkBuffer &buf, int errorcode, const char *errorstring=nullptr)
 

Function Documentation

CE_API UT_StringHolder CE_FormatOCLError ( int  errorcode,
const char *  errorstring = nullptr 
)

Utility methods to convert the error code + string into a user friendly error message. This lets us centralize hints of what to do when certain errors are encountered.

CE_API void CE_FormatOCLError ( UT_WorkBuffer buf,
int  errorcode,
const char *  errorstring = nullptr 
)