diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-06-19 10:54:43 +0200 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-06-19 13:06:24 +0200 |
commit | c6563268a6571b158a8a82fe4ca88f2802ee6aa9 (patch) | |
tree | 4a878fade7e4893852608dc4ed9fd0d7d4c0f1fc /src/scm/webid-oidc/errors.scm | |
parent | d9313a08f55bd41d6af398493ae211e331810f0f (diff) |
Implement the GET, HEAD, OPTIONS methods for the server0.4.15
Diffstat (limited to 'src/scm/webid-oidc/errors.scm')
-rw-r--r-- | src/scm/webid-oidc/errors.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/scm/webid-oidc/errors.scm b/src/scm/webid-oidc/errors.scm index 76ce8af..80a4f37 100644 --- a/src/scm/webid-oidc/errors.scm +++ b/src/scm/webid-oidc/errors.scm @@ -885,6 +885,20 @@ path-not-found-path) (define-exception-type + &auxiliary-resource-absent + &external-error + make-auxiliary-resource-absent + auxiliary-resource-absent? + (path auxiliary-resource-absent-path) + (kind auxiliary-resource-absent-kind)) + +(export &auxiliary-resource-absent + make-auxiliary-resource-absent + auxiliary-resource-absent? + auxiliary-resource-absent-path + auxiliary-resource-absent-kind) + +(define-exception-type &uri-slash-semantics-error &external-error make-uri-slash-semantics-error @@ -1336,6 +1350,9 @@ ((&path-not-found) (format #f (G_ "no resource has been found to serve URI path ~s") (get 'path))) + ((&auxiliary-resource-absent) + (format #f (G_ "the resource kind ~s is absent for the resource at ~s") + (get 'kind') (get 'path))) ((&uri-slash-semantics-error) (format #f (G_ "no resource has been found to serve URI path ~s, but ~s exists") (get 'path) (get 'expected-path))) |