29 exception(
const char *msg,
const char *file,
unsigned line,
af_err err);
30 #if AF_API_VERSION >= 33 31 exception(
const char *msg,
const char *func,
const char *file,
unsigned line,
af_err err);
34 virtual const char *
what()
const throw() {
return m_msg; }
36 {
return s << e.
what(); }
AFAPI void af_get_last_error(char **msg, dim_t *len)
friend std::ostream & operator<<(std::ostream &s, const exception &e)
virtual const char * what() const
AFAPI const char * af_err_to_string(const af_err err)