Move errors.h out of library.  Errors are application specific.