//! Core error types used by `vouched` generated code.
//!
//! Most users should depend on the facade crate, `vouched`, which re-exports these types together with the derive macro.
//! This crate exists so generated code can refer to stable validation error types.
//!
//! The important public pieces are:
//!
//! - [`TooShortError`] and [`TooLongError`] for `len(...)` failures.
//! - [`InvalidCharError`] for `chars(...)` failures.
//! - [`OutOfRangeNumericError`] and [`NumericValue`] for numeric `range(...)` and `cast(try_from(...))` failures.
//! - [`VouchedError`], implemented by generated error enums.
//! - [`Error`], an allocation-backed erased wrapper available with `alloc`.
extern crate alloc;
pub use *;