Liking cljdoc? Tell your friends :D

clojure-commons.exception-util


bad-requestclj

(bad-request reason & {:as ex-info})

Throws an error indicating that that a bad request was received.

Throws an error indicating that that a bad request was received.
sourceraw docstring

existsclj

(exists reason & {:as ex-info})

Throws an error indicating that there was an attempt to create something that already exists.

Throws an error indicating that there was an attempt to create something that already exists.
sourceraw docstring

forbiddenclj

(forbidden reason & {:as ex-info})

Throws an error indicating that the request is forbidden.

Throws an error indicating that the request is forbidden.
sourceraw docstring

illegal-argumentclj

(illegal-argument reason & {:as ex-info})

Throws an error indicating that that a bad request argument was received.

Throws an error indicating that that a bad request argument was received.
sourceraw docstring

internal-system-errorclj

(internal-system-error reason & {:as ex-info})

Throws an error explicitly indicating that an internal system error occurred.

Throws an error explicitly indicating that an internal system error occurred.
sourceraw docstring

not-foundclj

(not-found reason & {:as ex-info})

Throws an error indicating that a resource could not be found.

Throws an error indicating that a resource could not be found.
sourceraw docstring

unauthorizedclj

(unauthorized reason & {:as ex-info})

Throws an error indicating that the request is unauthorized.

Throws an error indicating that the request is unauthorized.
sourceraw docstring

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

× close