unsigned int fann_get_errno(struct fann_error * errdat);
Returns the numerical representation of the last error. The error codes are defined in fann_errno.h.
This function appears in FANN >= 1.1.0.