Liking cljdoc? Tell your friends :D

malli.error


-assoc-inclj/s

(-assoc-in a v [p & ps] e)
source

-errorclj/s

(-error e)
source

-error?clj/s

(-error? x)
source

-pred-min-max-error-fnclj/s

(-pred-min-max-error-fn {:keys [pred message]})
source

-pushclj/s

(-push x k v)
source

-resolve-direct-errorclj/s

(-resolve-direct-error _ error options)
source

default-errorsclj/s

source

error-messageclj/s

(error-message error)
(error-message {:keys [schema type] :as error}
               {:keys [errors unknown locale default-locale]
                :or {errors default-errors unknown true default-locale :en}
                :as options})
source

error-pathclj/s

(error-path error)
(error-path error options)
source

humanizeclj/s

(humanize explanation)
(humanize {:keys [value errors] :as explanation}
          {:keys [wrap resolve]
           :or {wrap :message resolve -resolve-direct-error}
           :as options})

Humanized a explanation. Accepts the following optitons:

  • :wrap, a function of error -> message, defaulting to :message
  • :resolve, a function of explanation error options -> path message
Humanized a explanation. Accepts the following optitons:

- `:wrap`, a function of `error -> message`, defaulting to `:message`
- `:resolve`, a function of `explanation error options -> path message`
sourceraw docstring

with-error-messageclj/s

(with-error-message error)
(with-error-message error options)
source

with-error-messagesclj/s

(with-error-messages explanation)
(with-error-messages explanation {f :wrap :or {f identity} :as options})
source

with-spell-checkingclj/s

(with-spell-checking explanation)
(with-spell-checking explanation {:keys [keep-likely-misspelled-of]})
source

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

× close