Liking cljdoc? Tell your friends :D

eva.v2.system.peer-connection.error


connect-failurecljmacro

(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"}}
sourceraw docstring

raise-connect-failurecljmacro

(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"}}
sourceraw docstring

raise-timeoutcljmacro

(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"}}
sourceraw docstring

timeoutcljmacro

(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"}}
sourceraw docstring

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

× close