Hubbub
Functions
errors.c File Reference
#include <string.h>
#include <hubbub/errors.h>

Go to the source code of this file.

Functions

const char * hubbub_error_to_string (hubbub_error error)
 Convert a hubbub error code to a string. More...
 

Function Documentation

const char* hubbub_error_to_string ( hubbub_error  error)

Convert a hubbub error code to a string.

Parameters
errorThe error code to convert
Returns
Pointer to string representation of error, or NULL if unknown.

Definition at line 18 of file errors.c.

References HUBBUB_BADENCODING, HUBBUB_BADPARM, HUBBUB_ENCODINGCHANGE, HUBBUB_FILENOTFOUND, HUBBUB_INVALID, HUBBUB_NEEDDATA, HUBBUB_NOMEM, HUBBUB_OK, HUBBUB_PAUSED, HUBBUB_REPROCESS, and HUBBUB_UNKNOWN.