25#ifndef _WRAPS_C_TFCERROR_H_
26#define _WRAPS_C_TFCERROR_H_
102CAPI_FUNC(HRESULT)
tfErrSet(HRESULT code,
const char* msg,
int line,
const char* file,
const char* func);
Handle to a Error instance.
Definition tfCError.h:36
HRESULT tfErrSet(HRESULT code, const char *msg, int line, const char *file, const char *func)
HRESULT tfError_getFunc(struct tfErrorHandle *handle, char **func, unsigned int *numChars)
Get the originating function name.
HRESULT tfError_getLineno(struct tfErrorHandle *handle, int *lineno)
Get the originating line number.
HRESULT tfErrGetFirst(struct tfErrorHandle **handle)
HRESULT tfErrGetAll(struct tfErrorHandle ***handles, unsigned int *numErrors)
Get all error indicators.
HRESULT tfError_getMsg(struct tfErrorHandle *handle, char **msg, unsigned int *numChars)
Get the error message.
HRESULT tfError_getErr(struct tfErrorHandle *handle, HRESULT *err)
Get the error code.
HRESULT tfErrPopFirst(struct tfErrorHandle **handle)
HRESULT tfError_getFname(struct tfErrorHandle *handle, char **fname, unsigned int *numChars)
Get the originating file name.
HRESULT tfErrStr(struct tfErrorHandle *handle, char **str, unsigned int *numChars)