Liking cljdoc? Tell your friends :D

com.yetanalytics.persephone.utils.asserts


assert-not-empty-patternsclj/s

(assert-not-empty-patterns compiled-patterns)

Assert that compiled-patterns has at least one Pattern for each Profile, and that at least one Profile exists.

Assert that `compiled-patterns` has at least one Pattern for each Profile,
and that at least one Profile exists.
sourceraw docstring

assert-not-empty-templatesclj/s

(assert-not-empty-templates compiled-templates)

Assert that compiled-templates has at least one Template.

Assert that `compiled-templates` has at least one Template.
sourceraw docstring

assert-profileclj/s

(assert-profile profile)

Assert that profile conforms to the xAPI spec, or else throw an exception. The ex-data contains an :errors map that is the return value of pan/validate-profile.

Assert that `profile` conforms to the xAPI spec, or else throw an
exception. The ex-data contains an `:errors` map that is the return
value of `pan/validate-profile`.
sourceraw docstring

assert-profile-idsclj/s

(assert-profile-ids profiles)

Assert that the Profile IDs do not clash, or else throw an exception.

Assert that the Profile IDs do not clash, or else throw an exception.
sourceraw docstring

assert-profile-pattern-idsclj/s

(assert-profile-pattern-ids profiles)

Assert that the Profiles' Pattern IDs do not clash, or else throw an exception.

Assert that the Profiles' Pattern IDs do not clash,
or else throw an exception.
sourceraw docstring

assert-profile-template-idsclj/s

(assert-profile-template-ids profiles)

Assert that the Profiles' Template IDs do not clash, or else throw an exception.

Assert that the Profiles' Template IDs do not clash,
or else throw an exception.
sourceraw docstring

assert-templateclj/s

(assert-template template)

Assert that template conforms to the xAPI spec, or else throw an exception. The ex-data contains an :errors map that is the s/explain-data result of :pan.objects.template/template.

Assert that `template` conforms to the xAPI spec, or else throw an
exception. The ex-data contains an `:errors` map that is the `s/explain-data`
result of `:pan.objects.template/template`.
sourceraw docstring

assert-template-idsclj/s

(assert-template-ids templates)

Assert that the Template IDs do not clash, or else throw an exception.

Assert that the Template IDs do not clash, or else throw an exception.
sourceraw docstring

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

× close