From af49e0e41d8283439ff741d6ed832fd84a50be0a Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Wed, 1 Jan 2020 00:00:00 +0100 Subject: Set up the guile project --- doc/webid-oidc.texi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3