1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! The single error type of the benchmark core.
//!
//! Every fallible entry point returns [`Result`]. The variants map one-to-one to
//! the ways running a case can fail before a [`CaseResult`] is even reached: a
//! malformed case, a strategy that does not deserialize, unusable data, the
//! backtest engine refusing to run, or a bad command envelope. A case whose
//! recomputed report simply *disagrees* with its expectation is **not** an error
//! — that is a successful [`CaseResult`] with `passed == false`.
//!
//! [`CaseResult`]: crate::CaseResult
use Error;
/// The result of a wickra-benchmark-core operation.
pub type Result<T> = Result;
/// Everything that can go wrong while running a case or a suite.