(argument-invalid? schema arg skip)
(defn* & args)
(unpack-validate-args name rt-args in-schema throw skip)
(update-body {:keys [bs] :as conf} body-update-fn)
(validate name {:schema/keys [in out throw? skip?] :as meta} args body)
Validates that the input arguments to the function by matching any provided schema to its input arguments and output as well as pipelining anomalies.
Arguments are passed via function metadata:
:schema/in [s1 s2 ...] Schema are matched against the args in order of appearance :schema/out s Output Schema
:schema/throw?
By Default error conditions, including Exceptions, are returned as anomalies.
When true
, validation errors are thrown as exceptions and exceptions are allowed
to escape the function scope.
:schema/skip? true - Validation skipped; anomalies pipelined
Validates that the input arguments to the function by matching any provided schema to its input arguments and output as well as pipelining anomalies. Arguments are passed via function metadata: :schema/in [s1 s2 ...] Schema are matched against the args in order of appearance :schema/out s Output Schema :schema/throw? By Default error conditions, including Exceptions, are returned as anomalies. When `true`, validation errors are thrown as exceptions and exceptions are allowed to escape the function scope. :schema/skip? true - Validation skipped; anomalies pipelined
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close