Abstraction point for modifying built in database functions.
Abstraction point for modifying built in database functions.
(cas-failure subtype detail-str data)(cas-failure subtype detail-str data cause)Records this raise-site under :eva.cas/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:eva.cas/<subtype>
cause)
The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:
{:failed-comparison {:required #{:e :expected :found :a}, :generic-str "Comparison failed for CAS"}, :ambiguous-target {:required #{:e :expected :a}, :generic-str "Cannot CAS on an attribute with :db.cardinality/many"}}
Records this raise-site under :eva.cas/<subtype> in eva.error/eva-error-form, and expands into the
equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:eva.cas/<subtype>
cause)
The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:
{:failed-comparison {:required #{:e :expected :found :a},
:generic-str "Comparison failed for CAS"},
:ambiguous-target {:required #{:e :expected :a},
:generic-str "Cannot CAS on an attribute with :db.cardinality/many"}}(raise-cas-failure subtype detail-str data)(raise-cas-failure subtype detail-str data cause)Records this raise-site under :eva.cas/<subtype> in eva.error/eva-error-form and expands into:
(raise :eva.cas/<subtype>
(str "<subtype-generic-str>: " detail-str)
data
cause)
The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:
{:failed-comparison {:required #{:e :expected :found :a}, :generic-str "Comparison failed for CAS"}, :ambiguous-target {:required #{:e :expected :a}, :generic-str "Cannot CAS on an attribute with :db.cardinality/many"}}
Records this raise-site under :eva.cas/<subtype> in eva.error/eva-error-form and expands into:
(raise :eva.cas/<subtype>
(str "<subtype-generic-str>: " detail-str)
data
cause)
The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:
{:failed-comparison {:required #{:e :expected :found :a},
:generic-str "Comparison failed for CAS"},
:ambiguous-target {:required #{:e :expected :a},
:generic-str "Cannot CAS on an attribute with :db.cardinality/many"}}cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |