Skip to main content

Module error

Module error 

Source
Expand description

InputError: what an algorithm returns instead of panicking when it is handed input it cannot process. The error an algorithm returns when it is handed input it cannot process.

Structs§

InputError
Input an algorithm cannot process: too few echoes, echo times it cannot use, buffers that do not match the grid, a singular affine, and so on. The message says what was wrong and with what values, so a host can pass it straight to its user.

Functions§

check_len 🔒
Err(InputError) unless len == expected, naming the buffer.