Liking cljdoc? Tell your friends :D
Clojure only.

depo.errors


errclj

(err error-key & opts)

Given a key identifying the type of error, returns a string containing the error message. opts required for certain error messages.

Possible error-keys

  • :no-args - "requires atleast one argument"
  • :invalid-argument - "The argument (:argument opts) is invalid"
  • :version-not-exist - "(:artifactID opts) version (:version opts) does not exist"
Given a key identifying the type of error, returns a string
containing the error message. `opts` required for certain error
messages.

Possible `error-key`s
- `:no-args` - "requires atleast one argument"
- `:invalid-argument` - "The argument `(:argument opts)` is invalid"
- `:version-not-exist` - "`(:artifactID opts)` version `(:version opts)` does not exist" 
raw docstring

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

× close