(config key)
(config props key)
(config prop-defs props key)
Get a configuration value. Returns nil if the key is not found.
Get a configuration value. Returns nil if the key is not found.
(config-error subtype detail-str data)
(config-error subtype detail-str data cause)
Records this raise-site under :eva.config.error/<subtype> in recide.impl/default-error-definition, and expands into the equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:eva.config.error/<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:
{:parse-failure {:required #{:source-type :source :target-type}, :generic-str "Eva config parse error"}, :key-not-found {:required #{:config-key}, :generic-str "No entry found for config key"}}
Records this raise-site under :eva.config.error/<subtype> in recide.impl/default-error-definition, and expands into the equivalent of: (error (str "<subtype-generic-str>: " detail-str) :eva.config.error/<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: {:parse-failure {:required #{:source-type :source :target-type}, :generic-str "Eva config parse error"}, :key-not-found {:required #{:config-key}, :generic-str "No entry found for config key"}}
(config-strict key)
(config-strict props key)
(config-strict prop-defs props key)
Get a configuration value. Throws if the key is not found.
Get a configuration value. Throws if the key is not found.
(raise-config-error subtype detail-str data)
(raise-config-error subtype detail-str data cause)
Records this raise-site under :eva.config.error/<subtype> in recide.impl/default-error-definition and expands into:
(raise :eva.config.error/<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:
{:parse-failure {:required #{:source-type :source :target-type}, :generic-str "Eva config parse error"}, :key-not-found {:required #{:config-key}, :generic-str "No entry found for config key"}}
Records this raise-site under :eva.config.error/<subtype> in recide.impl/default-error-definition and expands into: (raise :eva.config.error/<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: {:parse-failure {:required #{:source-type :source :target-type}, :generic-str "Eva config parse error"}, :key-not-found {:required #{:config-key}, :generic-str "No entry found for config key"}}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close