Dead letter abstraction.
Dead letter abstraction.
(send-dead-letter! this envelope error-info opts)Send a failed message to the configured dead letter sink.
Send a failed message to the configured dead letter sink.
(normalize-error-info error-info)Normalizes error-info to be safe for logging/encoding.
Expected input shape:
{:error <Exception|string|keyword|any> :stacktrace <string|nil> ...}Normalization rules:
:error is an Exception, it becomes a map with :message/:class.:stacktrace is non-string, it is coerced via str.Returns a map.
Normalizes `error-info` to be safe for logging/encoding.
Expected input shape:
- `{:error <Exception|string|keyword|any> :stacktrace <string|nil> ...}`
Normalization rules:
- If `:error` is an Exception, it becomes a map with `:message`/`:class`.
- If `:stacktrace` is non-string, it is coerced via `str`.
- Unknown keys are preserved.
Returns a map.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 |