Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.error

Error formatting - leaf module.

Pure functions for turning exceptions, anomaly maps, and ad-hoc error values into human-readable strings. Lives in its own namespace so any layer (SDK facade, channels, extensions, the iteration loop) can format an error without dragging in the rest of the SDK.

Public API: error-message - raw text from a Throwable / map / string format-error - prefix "ERROR: " idempotently final-answer-code-error-message - the "Final-answer code error: ..." prefix used by the iteration loop when an (done ...) form's own code throws.

Error formatting - leaf module.

Pure functions for turning exceptions, anomaly maps, and ad-hoc
error values into human-readable strings. Lives in its own
namespace so any layer (SDK facade, channels, extensions, the
iteration loop) can format an error without dragging in the rest
of the SDK.

Public API:
  `error-message`                 - raw text from a Throwable / map / string
  `format-error`                  - prefix "ERROR: " idempotently
  `final-answer-code-error-message` - the "Final-answer code error: ..." prefix
                                     used by the iteration loop when an
                                     `(done ...)` form's own code throws.
raw docstring

error-messageclj

(error-message v)

Build an error message string from a Throwable, map, or string.

Build an error message string from a Throwable, map, or string.
sourceraw docstring

final-answer-code-error-messageclj

(final-answer-code-error-message exception)
source

format-errorclj

(format-error v)

Add the standard ERROR: prefix to an error message, idempotent.

Add the standard `ERROR: ` prefix to an error message, idempotent.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close