Package-level declarations

Types

Link copied to clipboard

A Node that can hold an error which occurred during its processing (e.g. function call expansion). When an error is present, accept accepts the error as a node (via asNode) instead of the node itself, allowing graceful inline error reporting in the output document.

Functions

Link copied to clipboard

Converts this exception to a renderable Node, and performs the error handling provided by the errorHandler strategy.

Link copied to clipboard
fun ErrorCapableNode.setError(throwable: Throwable, context: Context)

Sets the given throwable as the error of this node, paired with the error handler from context.