Skip to main content

Module error

Module error 

Source
Expand description

Errors from rustymath’s functions on arrays. Each error has a kind, and a message that says what went wrong.

Structs§

Error
ErrorSlot
Measures and the Interfaces’ errors entry: the session’s 1 error slot, homed here so kernels set it from every thread that runs the read’s work (rustymath’s parallel runtime installs the caller’s slot on its workers). It keeps the 1st data error and a count of errors recorded. basedpl’s Session holds one, rustymath’s Python API reads its own; its representation is this module’s.

Enums§

Kind
What went wrong.

Functions§

checked
Checked eager entry for Rust and Python callers.
record
Record in the active read’s slot; standalone scalar maths has no slot.