Exceptions¶
benchmatrix.exceptions ¶
Errors raised by the benchmatrix pytest-benchmark integration layer.
BenchmatrixError ¶
Bases: Exception
Base class for benchmatrix matrix, metadata, and result errors.
Source code in src/benchmatrix/exceptions.py
4 5 | |
MetadataSerializationError ¶
Bases: BenchmatrixError, ValueError
Raised when benchmark metadata cannot be represented as strict JSON.
Source code in src/benchmatrix/exceptions.py
8 9 | |
BenchmarkJsonError ¶
Bases: BenchmatrixError, ValueError
Raised when pytest-benchmark JSON cannot be parsed as benchmatrix output.
Source code in src/benchmatrix/exceptions.py
12 13 | |