Returned (or raised) when rendering, sanitizing, or highlighting a Djot document fails.
reason holds the underlying cause, e.g. the native error message or {:highlight, error}.
reason
{:highlight, error}
@type t() :: %Markup.Djot.Error{ __exception__: term(), message: String.t(), reason: term() }