#include <ostream>
#include <af/defines.h>
Go to the source code of this file.
◆ af_err_to_string()
AFAPI const char * af_err_to_string |
( |
const af_err |
err | ) |
|
Converts the af_err error code to its string representation.
- Parameters
-
[in] | err | The ArrayFire error code |
◆ af_get_last_error()
AFAPI void af_get_last_error |
( |
char ** |
msg, |
|
|
dim_t * |
len |
|
) |
| |
Returns the last error message that occurred and its error message.
- Parameters
-
[out] | msg | The message of the previous error |
[out] | len | The number of characters in the msg object |