tibasError_GetStackTrace()

Returns a stack trace for a specified error.

Declaration

tibas_status tibasError_GetStackTrace
(tibasError error,
char** stackTrace)

Parameters

Parameter Description
error The stack of errors to iterate through.
stackTrace A string representation of the stack trace.

Remarks

Use the tibasError_GetStackTrace() function to return the stack trace for a specified error.

The stack trace is owned by the error object. There is no need to free it explicitly, as it will be freed when the error object is freed.