Skip to content
Raul Montoya Cardenas edited this page Jul 29, 2026 · 2 revisions

Errors

src/error.rsthiserror, #[non_exhaustive].

Variant When
Unimplemented HDF5 API without feature
UnknownNodeType Wire type string not in WIRE_TYPES
DuplicateNode / MissingNode Graph construction / edges
DuplicateEdge Same directed edge twice
InvalidGraph Structure / padding / link names
UnsupportedVersion Reserved for version hard-rejects
MissingField Required wire field absent
InvalidTensor Shape/data mismatch
Io Filesystem / HDF5 library (message string)

pub type Result<T> = std::result::Result<T, NirError>;

With feature hdf5, From<hdf5::Error>Io.


Last updated: July 29, 2026 Updated by: Grok Build: Grok 4.5 Package tip reference: df72fc9 (main)

Clone this wiki locally