Module mz_testdrive::error
source ยท Expand description
Error handling.
Errors inside of the testdrive library are represented as an
anyhow::Error
. As the error bubbles up the stack, it may be upgraded to a
PosError
, which attaches source code position information. The position
information tracked by a PosError
uses a parser-specific representation
that is not human-readable, so PosError
s are upgraded to Error
s before
they are returned externally.
Structsยง
- An error produced when parsing or executing a testdrive script.
- Error
Location ๐ - PosError ๐
Functionsยง
- write_
error_ ๐heading