(raise-read-error subtype detail-str data)(raise-read-error subtype detail-str data cause)Records this raise-site under :jms.read-error/<subtype> in eva.error/eva-error-form and expands into:
(raise :jms.read-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:
{:decode-error {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Error decoding message body"}, :unsupported-message {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Expected javax.jms.BytesMessage but received"}, :not-a-message {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Expected a message but received"}, :unrecognized-body {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Unrecognized message body"}, :body-missing-throwable-flag {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Message body missing :throwable?"}, :body-missing-payload-field {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Message body missing :payload"}}
Records this raise-site under :jms.read-error/<subtype> in eva.error/eva-error-form and expands into:
(raise :jms.read-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:
{:decode-error {:required #{:eva.v2.messaging.jms.alpha.message/message},
:generic-str "Error decoding message body"},
:unsupported-message {:required #{:eva.v2.messaging.jms.alpha.message/message},
:generic-str "Expected javax.jms.BytesMessage but received"},
:not-a-message {:required #{:eva.v2.messaging.jms.alpha.message/message},
:generic-str "Expected a message but received"},
:unrecognized-body {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
:generic-str "Unrecognized message body"},
:body-missing-throwable-flag {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
:generic-str "Message body missing :throwable?"},
:body-missing-payload-field {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
:generic-str "Message body missing :payload"}}(raise-write-error subtype detail-str data)(raise-write-error subtype detail-str data cause)Records this raise-site under :jms.write-error/<subtype> in eva.error/eva-error-form and expands into:
(raise :jms.write-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:
{:transcribe-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error transcribing payload"}, :encode-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error encoding message body"}, :write-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error writing message body"}}
Records this raise-site under :jms.write-error/<subtype> in eva.error/eva-error-form and expands into:
(raise :jms.write-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:
{:transcribe-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
:generic-str "Error transcribing payload"},
:encode-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
:generic-str "Error encoding message body"},
:write-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
:generic-str "Error writing message body"}}(read-content msg)Attempts to read, decode, and interpret content from the body of msg. Throws a ::read-error on failure.
Attempts to read, decode, and interpret content from the body of msg. Throws a ::read-error on failure.
(read-error subtype detail-str data)(read-error subtype detail-str data cause)Records this raise-site under :jms.read-error/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:jms.read-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:
{:decode-error {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Error decoding message body"}, :unsupported-message {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Expected javax.jms.BytesMessage but received"}, :not-a-message {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Expected a message but received"}, :unrecognized-body {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Unrecognized message body"}, :body-missing-throwable-flag {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Message body missing :throwable?"}, :body-missing-payload-field {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Message body missing :payload"}}
Records this raise-site under :jms.read-error/<subtype> in eva.error/eva-error-form, and expands into the
equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:jms.read-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:
{:decode-error {:required #{:eva.v2.messaging.jms.alpha.message/message},
:generic-str "Error decoding message body"},
:unsupported-message {:required #{:eva.v2.messaging.jms.alpha.message/message},
:generic-str "Expected javax.jms.BytesMessage but received"},
:not-a-message {:required #{:eva.v2.messaging.jms.alpha.message/message},
:generic-str "Expected a message but received"},
:unrecognized-body {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
:generic-str "Unrecognized message body"},
:body-missing-throwable-flag {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
:generic-str "Message body missing :throwable?"},
:body-missing-payload-field {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
:generic-str "Message body missing :payload"}}(write-content! msg content)Attempts to write content into the body of msg in encoded form. Throws a ::write-error on failure.
Attempts to write content into the body of msg in encoded form. Throws a ::write-error on failure.
(write-error subtype detail-str data)(write-error subtype detail-str data cause)Records this raise-site under :jms.write-error/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:jms.write-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:
{:transcribe-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error transcribing payload"}, :encode-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error encoding message body"}, :write-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error writing message body"}}
Records this raise-site under :jms.write-error/<subtype> in eva.error/eva-error-form, and expands into the
equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:jms.write-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:
{:transcribe-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
:generic-str "Error transcribing payload"},
:encode-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
:generic-str "Error encoding message body"},
:write-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
:generic-str "Error writing message body"}}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 |