(connect-failure subtype detail-str data)(connect-failure subtype detail-str data cause)Records this raise-site under :peer-connect/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:peer-connect/<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:
{:message-queue {:required #{:database-id :peer-id}, :generic-str "Unable to connect to message queue"}, :resource-manager {:required #{:database-id :peer-id}, :generic-str "Unable to acquire a resource"}, :unrecognized-cause {:required #{:database-id :peer-id}, :generic-str "Unable to acquire a peer connection"}}
Records this raise-site under :peer-connect/<subtype> in eva.error/eva-error-form, and expands into the
equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:peer-connect/<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:
{:message-queue {:required #{:database-id :peer-id},
:generic-str "Unable to connect to message queue"},
:resource-manager {:required #{:database-id :peer-id},
:generic-str "Unable to acquire a resource"},
:unrecognized-cause {:required #{:database-id :peer-id},
:generic-str "Unable to acquire a peer connection"}}(raise-connect-failure subtype detail-str data)(raise-connect-failure subtype detail-str data cause)Records this raise-site under :peer-connect/<subtype> in eva.error/eva-error-form and expands into:
(raise :peer-connect/<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:
{:message-queue {:required #{:database-id :peer-id}, :generic-str "Unable to connect to message queue"}, :resource-manager {:required #{:database-id :peer-id}, :generic-str "Unable to acquire a resource"}, :unrecognized-cause {:required #{:database-id :peer-id}, :generic-str "Unable to acquire a peer connection"}}
Records this raise-site under :peer-connect/<subtype> in eva.error/eva-error-form and expands into:
(raise :peer-connect/<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:
{:message-queue {:required #{:database-id :peer-id},
:generic-str "Unable to connect to message queue"},
:resource-manager {:required #{:database-id :peer-id},
:generic-str "Unable to acquire a resource"},
:unrecognized-cause {:required #{:database-id :peer-id},
:generic-str "Unable to acquire a peer connection"}}(raise-timeout subtype detail-str data)(raise-timeout subtype detail-str data cause)Records this raise-site under :peer-timeout/<subtype> in eva.error/eva-error-form and expands into:
(raise :peer-timeout/<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:
{:transact {:required #{:tx-data-size :timeout-ms}, :generic-str "Peer timed out"}}
Records this raise-site under :peer-timeout/<subtype> in eva.error/eva-error-form and expands into:
(raise :peer-timeout/<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:
{:transact {:required #{:tx-data-size :timeout-ms},
:generic-str "Peer timed out"}}(timeout subtype detail-str data)(timeout subtype detail-str data cause)Records this raise-site under :peer-timeout/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:peer-timeout/<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:
{:transact {:required #{:tx-data-size :timeout-ms}, :generic-str "Peer timed out"}}
Records this raise-site under :peer-timeout/<subtype> in eva.error/eva-error-form, and expands into the
equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:peer-timeout/<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:
{:transact {:required #{:tx-data-size :timeout-ms},
:generic-str "Peer timed out"}}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 |