#include <stddef.h>
Go to the source code of this file.
|
enum | hubbub_error {
HUBBUB_OK = 0,
HUBBUB_REPROCESS = 1,
HUBBUB_ENCODINGCHANGE = 2,
HUBBUB_PAUSED = 3,
HUBBUB_NOMEM = 5,
HUBBUB_BADPARM = 6,
HUBBUB_INVALID = 7,
HUBBUB_FILENOTFOUND = 8,
HUBBUB_NEEDDATA = 9,
HUBBUB_BADENCODING = 10,
HUBBUB_UNKNOWN = 11
} |
|
◆ hubbub_error
◆ hubbub_error
Enumerator |
---|
HUBBUB_OK | No error.
|
HUBBUB_REPROCESS | |
HUBBUB_ENCODINGCHANGE | |
HUBBUB_PAUSED | tokenisation is paused
|
HUBBUB_NOMEM | |
HUBBUB_BADPARM | |
HUBBUB_INVALID | |
HUBBUB_FILENOTFOUND | |
HUBBUB_NEEDDATA | |
HUBBUB_BADENCODING | |
HUBBUB_UNKNOWN | |
◆ hubbub_error_to_string()
Convert a hubbub error code to a string.
- Parameters
-
error | The error code to convert |
- Returns
- Pointer to string representation of error, or NULL if unknown.