(assert-found obj desc id)
Asserts that an object to modify or retrieve was found.
Asserts that an object to modify or retrieve was found.
(assert-not-found obj desc id)
Asserts that an object that is being created is not a duplicate.
Asserts that an object that is being created is not a duplicate.
(assert-valid valid? & msgs)
Throws an exception if an arbitrary expression is false.
Throws an exception if an arbitrary expression is false.
(bad-request reason)
Throws an exception indicating that the incoming request is invalid.
Throws an exception indicating that the incoming request is invalid.
(not-found desc id)
Throws an exception indicating that an object wasn't found.
Throws an exception indicating that an object wasn't found.
(not-owner desc id)
Throws an exception indicating that the user isn't permitted to perform the requested option.
Throws an exception indicating that the user isn't permitted to perform the requested option.
(not-unique desc id & [extra-fields])
Throws an exception indicating that multiple objects were found when only one was expected.
Throws an exception indicating that multiple objects were found when only one was expected.
(request-failure & msgs)
Throws an exception indicating that a request failed for an unexpected reason.
Throws an exception indicating that a request failed for an unexpected reason.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close