Error handling for MINC routines is the same as for NetCDF functions, with the exception that routines returning pointers will return NULL instead of MI_ERROR when an error occurs. Error codes (returned in ncerr) can be found in the header file minc.h.