![]() |
Diffusion C API 6.11.5
|
Functions relating to error reporting within the API. More...
Data Structures | |
struct | error_report_s |
Structure describing an error report which may arise when calling various API functions. More... | |
Typedefs | |
typedef struct error_report_s | ERROR_REPORT_T |
Structure describing an error report which may arise when calling various API functions. | |
Functions | |
const char * | diffusion_error_str (const ERROR_CODE_T code) |
Given a Diffusion API error code, return the related error text. | |
ERROR_REPORT_T * | error_report_create (void) |
Create a new ERROR_REPORT_T structure. | |
void | error_report_free (ERROR_REPORT_T *error_report) |
Free an existing ERROR_REPORT_T structure and associated memory. | |
ERROR_REPORT_T * | error_report_dup (const ERROR_REPORT_T *error_report) |
Create a duplicate (deep copy) of an ERROR_REPORT_T structure. | |
Functions relating to error reporting within the API.
Copyright © 2014 - 2023 DiffusionData Ltd., All Rights Reserved.
Use is subject to licence terms.
NOTICE: All information contained herein is, and remains the property of DiffusionData. The intellectual and technical concepts contained herein are proprietary to DiffusionData and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law.
const char * diffusion_error_str | ( | const ERROR_CODE_T | code | ) |
Given a Diffusion API error code, return the related error text.
code | The Diffusion API error code |
const char * | A pointer to the error message. |
NULL | If there is no error message for this code. |
ERROR_REPORT_T * error_report_dup | ( | const ERROR_REPORT_T * | error_report | ) |
Create a duplicate (deep copy) of an ERROR_REPORT_T structure.
error_report_free
should be called on the pointer when no longer needed.