nano_err.h is from nanomsg, for error handling