Liking cljdoc? Tell your friends :D

cerber.error


access-deniedclj

source

ajax-request?clj

(ajax-request? headers)

Returns true if X-Requested-With header was found with XMLHttpRequest value, returns false otherwise.

Returns true if X-Requested-With header was found with
XMLHttpRequest value, returns false otherwise.
sourceraw docstring

bad-requestclj

(bad-request message)
source

error->ednclj

(error->edn http-error & [headers state landing-url])

Tranforms error into http response.

In case of 401 (unauthorized) and 403 (forbidden) error codes additional WWW-Authenticate header is returned as described in https://tools.ietf.org/html/rfc6750#section-3

Tranforms error into http response.

In case of 401 (unauthorized) and 403 (forbidden) error codes additional WWW-Authenticate
header is returned as described in https://tools.ietf.org/html/rfc6750#section-3
sourceraw docstring

error->redirectclj

(error->redirect http-error state redirect-uri)

Tranforms error into http redirect response. Error info is added as query param as described in 4.1.2.1. Error Response of OAuth2 spec

Tranforms error into http redirect response.
Error info is added as query param as described in 4.1.2.1. Error Response of OAuth2 spec
sourceraw docstring

forbiddenclj

source

internal-errorclj

(internal-error message)
source

invalid-redirect-uriclj

source

invalid-requestclj

source

invalid-scopeclj

source

invalid-stateclj

source

invalid-tokenclj

source

server-errorclj

source

unapprovedclj

source

unauthorizedclj

source

unsupported-grant-typeclj

source

unsupported-response-typeclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close