Status Codes

enum SerdStatus

Return status code.

enumerator SERD_SUCCESS

No error.

enumerator SERD_FAILURE

Non-fatal failure.

enumerator SERD_ERR_UNKNOWN

Unknown error.

enumerator SERD_ERR_BAD_SYNTAX

Invalid syntax.

enumerator SERD_ERR_BAD_ARG

Invalid argument.

enumerator SERD_ERR_BAD_ITER

Use of invalidated iterator.

enumerator SERD_ERR_NOT_FOUND

Not found.

enumerator SERD_ERR_ID_CLASH

Encountered clashing blank node IDs.

enumerator SERD_ERR_BAD_CURIE

Invalid CURIE (e.g. prefix does not exist)

enumerator SERD_ERR_INTERNAL

Unexpected internal error (should not happen)

enumerator SERD_ERR_OVERFLOW

Stack overflow.

enumerator SERD_ERR_NO_DATA

Unexpected end of input.

enumerator SERD_ERR_BAD_TEXT

Invalid text encoding.

enumerator SERD_ERR_BAD_WRITE

Error writing to file/stream.

enumerator SERD_ERR_BAD_CALL

Invalid call.

enumerator SERD_ERR_BAD_URI

Invalid or unresolved URI.

enumerator SERD_ERR_INVALID

Invalid data.

const char *serd_strerror(SerdStatus status)

Return a string describing a status code.