//! This crate's error type.
/// What can go wrong querying an extracted page.
///
/// [`extract`](crate::extract) itself is infallible — every damaged input is a
/// recorded [`Diagnostic`](pdfrum_common::Diagnostic), not an `Err`. This enum
/// exists for the query side, where a caller can hand in an index that does
/// not name a character.