//! Renderer error types.
/// Errors that can occur during rendering.
///
/// There is exactly one, and it is the only condition the pipeline cannot
/// render its way out of. Emptiness is deliberately *not* one: a document with
/// no content produces a single blank page (`render::layout_document`), which
/// is what Word does — so the `EmptyDocument` variant this type used to carry
/// was not merely unconstructed, it contradicted the behaviour the pipeline
/// had chosen.