aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-27 18:16:08 +0200
committerDavid Robillard <d@drobilla.net>2018-05-27 18:16:08 +0200
commita0c483d9f1f3955499560ef1536fdb760df274fb (patch)
treefa46603a7180e17a3d4e78ea088969d48babc79c /serd/serd.h
parent120b99b1cb02f153ec6f4071a8071ac08cb9d074 (diff)
downloadserd-a0c483d9f1f3955499560ef1536fdb760df274fb.tar.gz
serd-a0c483d9f1f3955499560ef1536fdb760df274fb.tar.bz2
serd-a0c483d9f1f3955499560ef1536fdb760df274fb.zip
Clarify errors returned by serd_env_expand()
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h5
1 files changed, 5 insertions, 0 deletions
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