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 13:06:24 +0200
commit7065ff343d2e9765fe05351926502d5563461980 (patch)
tree92a7d226983cc31e18c7ad5f32208f84d8ab92ae /doc
parent872ab5c677c7187dcaf37d86d7a042138f5c301c (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