dmlfw (Daniyal Machine Learning Framework)
dmlfw_error.h
Go to the documentation of this file.
1#ifndef __DMLFW__ERROR__
2#define __DMLFW__ERROR__
67#include <inttypes.h>
68#include <dmlfw_types.h>
69
74uint8_t dmlfw_error(void);
75
80uint32_t dmlfw_get_error_code(void);
81
87void dmlfw_get_error_string(char *error_string, uint32_t size);
88
94void dmlfw_get_debug_string(char *debug_string, uint32_t size);
95
101
107
108#endif // __DMLFW__ERROR__
109
uint32_t dmlfw_get_error_code(void)
Retrieves the error code of the last error.
void dmlfw_get_error_string(char *error_string, uint32_t size)
Copies the last error message into the provided character buffer.
uint8_t dmlfw_error(void)
Checks if the last framework call resulted in an error.
uint32_t dmlfw_get_error_string_length(void)
Gets the length of the last error message string.
void dmlfw_get_debug_string(char *debug_string, uint32_t size)
Copies detailed debug information about the last error into the provided character buffer.
uint32_t dmlfw_get_debug_string_length(void)
Gets the length of the last debug string.
Fundamental scalar typedefs used across the framework.