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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//! The crate error taxonomy.
//!
//! Every fallible operation in dig-offers returns [`Result`], whose error is [`Error`]. The
//! variants separate the failure sources a pure, key-free offer builder can hit: a lower-level
//! driver failure while constructing a spend, a signer failure while computing the required
//! signatures, a malformed `offer1…` string, a combine that merges two incompatible offers, and
//! caller-supplied input that cannot produce a valid offer.
use DriverError;
use SignerError;
/// The result of a dig-offers operation.
pub type Result<T> = Result;
/// Everything that can go wrong while building, taking, combining, cancelling, or inspecting a
/// Chia offer.