diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2026-11-25 13:31:44 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2026-11-25 13:31:44 -0600 |
| commit | 07e343541d0e60e34e582d43efd8cf573f8bb344 (patch) | |
| tree | c13f9aaaa30b45581126c0c90c6c2a022029dfc4 /learn_21/src/error.rs | |
| parent | f091cb475a1e53f84b9876cd45e11b531f660237 (diff) | |
feat: learn_21
commit 1aef59339ed32f05560fb2410f3f1db919b68b08
Author: Brad Clawsie <brad@b7j0c.org>
Date: Wed Nov 25 13:30:40 2026 -0600
feat: learn_21
commit a1f45dffa085500ae070a023f31f05ed6bec2c3c
Author: Brad Clawsie <brad@b7j0c.org>
Date: Wed Nov 25 11:02:28 2026 -0600
wip: learn_21
commit 927abcffa154fe6e1ea2658e9d55d14f49f101ae
Author: Brad Clawsie <brad@b7j0c.org>
Date: Wed Nov 25 10:15:35 2026 -0600
wip: learn_21
commit 53396b0796762119b51d0b74ed821dece20c1ff6
Author: Brad Clawsie <brad@b7j0c.org>
Date: Tue Nov 24 15:31:04 2026 -0600
wip: learn_21
Diffstat (limited to 'learn_21/src/error.rs')
| -rw-r--r-- | learn_21/src/error.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/learn_21/src/error.rs b/learn_21/src/error.rs new file mode 100644 index 0000000..34dfeb9 --- /dev/null +++ b/learn_21/src/error.rs @@ -0,0 +1,9 @@ +#[derive(Debug)] +pub enum ConfigError { + Io(std::io::Error), + MissingField(String), + InvalidLine(usize), + DuplicateField(String), + InvalidValue(String), + UnknownField(String), +} |
