Skip to main content

Module error

Module error 

Source
Expand description

The file-level error type.

Object-level outcomes (the canonical dump’s L2 kinds) are crate::walk::ParseError; the writer’s are crate::walk::WriteError. Error is Clone because a lazily computed result, published once into a OnceLock, is handed to every later caller.

Owner: the scaffold (frozen). A package that needs a new variant asks the integration package; #[non_exhaustive] keeps that additive.

Structs§

IoError
An I/O error, shared because Error is Clone. std::io::Error has no equality, so two are equal when their kinds and OS error codes are.
LimitError
A bound that was exceeded.

Enums§

Error
Why loading a file failed. Never a panic.
LimitKind
Which bound was exceeded.
NotFound
What was not found.
Unsupported
Formats and features that are named and refused, never guessed at.