Skip to main content

Module error

Module error 

Source
Expand description

Fatal errors.

A ReadError means parsing stopped (input too short for even a header); a Diagnostic means parsing recovered and went on. Both are Copy and hold only offsets and &'static str, so they work in the core tier with no allocator.

Enumsยง

ReadError
Something went wrong badly enough that parsing could not continue.
WriteError
Something went wrong while serialising.