Expand description
The single error path.
Scrollcase has one rule for validation failures across all its implementations: every one of them
produces one clear line, and there is no second error path to reason about. Node expresses that
with fail(), Python with a single exception type, and this crate with one opaque struct.
Deliberately not an enum of failure kinds. A caller that matched on variants would be writing its own interpretation of which rejections are equivalent, and every added variant would then be a breaking change to a security-relevant API. The message is the contract, and the conformance fixture pins the substrings that matter.
Structs§
- Error
- A validation or I/O failure, carrying the one line a caller should surface.
Type Aliases§
- Result
- Result alias used throughout the crate.