8 #ifndef hubbub_utils_parserutilserror_h_
9 #define hubbub_utils_parserutilserror_h_
11 #include <parserutils/errors.h>
22 parserutils_error error)
24 if (error == PARSERUTILS_OK)
26 else if (error == PARSERUTILS_NOMEM)
28 else if (error == PARSERUTILS_BADPARM)
30 else if (error == PARSERUTILS_INVALID)
32 else if (error == PARSERUTILS_FILENOTFOUND)
34 else if (error == PARSERUTILS_NEEDDATA)
36 else if (error == PARSERUTILS_BADENCODING)
38 else if (error == PARSERUTILS_EOF)
static hubbub_error hubbub_error_from_parserutils_error(parserutils_error error)
Convert a ParserUtils error into a Hubbub error.