summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2020-01-01 00:00:00 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-19 15:44:24 +0200
commitaf49e0e41d8283439ff741d6ed832fd84a50be0a (patch)
treeadb600c4a654b2d53d3816ca89cb151772075253 /doc
parentc5c5770f44963cc7d677f13cb69f0babbd202b40 (diff)
Set up the guile project
Diffstat (limited to 'doc')
-rw-r--r--doc/webid-oidc.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/webid-oidc.texi b/doc/webid-oidc.texi
index c8219c6..81d408a 100644
--- a/doc/webid-oidc.texi
+++ b/doc/webid-oidc.texi
@@ -48,6 +48,7 @@ Free Documentation License''
@menu
* Decentralized Authentication on the Web::
* The Json Web Token::
+* Exceptional conditions::
* GNU Free Documentation License::
* Index::
@end menu
@@ -107,6 +108,19 @@ following, we will only be interested by public-key cryptography. The
concatenation of header, dot, payload, dot and signature in base64 is
the encoding of the JWT.
+@node Exceptional conditions
+@chapter Exceptional conditions
+
+The library will raise an exception whenever something fishy
+occurs. For instance, if a signature is invalid, or the expiration
+date has passed. All exception types are defined in
+@code{(webid-oidc errors)}.
+
+@deffn function error->str @var{error} @var{[#depth]}
+Return a string explaining the @var{error}. You can limit the
+@var{depth} of the explanation as an integer.
+@end deffn
+
@node GNU Free Documentation License
@appendix GNU Free Documentation License