Skip to main content

Module error

Module error 

Source
Expand description

The crate-wide error type and result alias.

A single SparkplugError models every fallible operation (parsing, encoding, decoding, persistence). Per the Rust API guidelines we never panic! on untrusted input — every decode failure is a typed variant.

Enums§

SparkplugError
Errors produced while building, encoding, decoding, or parsing Sparkplug B data.

Type Aliases§

Result
Convenient result alias used throughout the crate.