Liking cljdoc? Tell your friends :D

com.yetanalytics.pan.errors


error->strclj/s

(error->str error-map error-type)
source

errors->stringclj/s

(errors->string spec-errors-map)

Given a map {:err-type spec-err}, return an error string.

Given a map `{:err-type spec-err}`, return an error string.
sourceraw docstring

errors->type-path-str-mclj/s

(errors->type-path-str-m spec-errs-map)

Given a map {:err-type spec-err}, return a map of the form {:err-type {:spec-path err-str}}

Given a map `{:err-type spec-err}`, return a map of the form
`{:err-type {:spec-path err-str}}`
sourceraw docstring

errors->type-str-mclj/s

(errors->type-str-m spec-errs-map)

Given a map {:err-type spec-err}, return a map of the form {:err-type err-str}.

Given a map `{:err-type spec-err}`, return a map of the form
`{:err-type err-str}`.
sourceraw docstring

expound-errorclj/s

(expound-error error-map error-label)
(expound-error error-map error-label error-type)

Print an Expounded error message using a custom printer. The custom printer is determined via error-type; if not supplied, it assumes that it is a syntax error. Prints error-label as the header.

Print an Expounded error message using a custom printer. The custom
printer is determined via `error-type`; if not supplied, it assumes
that it is a syntax error. Prints `error-label` as the header.
sourceraw docstring

fmtclj/s

source

(print-errors {:keys [syntax-errors id-errors in-scheme-errors
                      concept-edge-errors template-edge-errors
                      pattern-edge-errors pattern-cycle-errors context-errors]})

Print errors from profile validation using Expound. Available keys: :syntax-errors Basic syntax validation (always present) :id-errors Duplicate ID errors :in-scheme-errors inScheme property validation :concept-errors Concept relation/link errors :template-errors Template relation/link errors :pattern-errors Pattern relation/link errors :pattern-cycle-errors Cyclical pattern errors :context-errors Errors in expanding keys via @context maps

Print errors from profile validation using Expound. Available keys:
:syntax-errors         Basic syntax validation (always present)
:id-errors             Duplicate ID errors
:in-scheme-errors      inScheme property validation
:concept-errors        Concept relation/link errors
:template-errors       Template relation/link errors
:pattern-errors        Pattern relation/link errors
:pattern-cycle-errors  Cyclical pattern errors
:context-errors        Errors in expanding keys via @context maps
sourceraw docstring

property-orderclj/s

source

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

× close