From a0c483d9f1f3955499560ef1536fdb760df274fb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 May 2018 18:16:08 +0200 Subject: Clarify errors returned by serd_env_expand() --- serd/serd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'serd/serd.h') diff --git a/serd/serd.h b/serd/serd.h index 762c58a4..b3056239 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -713,6 +713,9 @@ serd_env_qualify(const SerdEnv* env, /** Expand `curie`. + + Errors: SERD_ERR_BAD_ARG if `curie` is not valid, or SERD_ERR_BAD_CURIE if + prefix is not defined in `env`. */ SERD_API SerdStatus @@ -723,6 +726,8 @@ serd_env_expand(const SerdEnv* env, /** Expand `node`, which must be a CURIE or URI, to a full URI. + + Returns null if `node` can not be expanded. */ SERD_API SerdNode -- cgit v1.2.1