diff options
| author | pml68 <contact@pml68.dev> | 2025-03-01 02:29:03 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-03-01 02:29:03 +0100 |
| commit | 13ec2282c914c076ff50ddc44bee1feeb7983ae8 (patch) | |
| tree | 4623cd5c3c917004c0b45c0912f10773fa838b51 /src/error.rs | |
| parent | ci: add step for running tests (diff) | |
| download | iced-builder-13ec2282c914c076ff50ddc44bee1feeb7983ae8.tar.gz | |
refactor: make config an `Arc<Config>` in `App`
Diffstat (limited to '')
| -rw-r--r-- | src/error.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/error.rs b/src/error.rs index 002a1fc..9e1ee9d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -7,16 +7,16 @@ use thiserror::Error; #[error(transparent)] pub enum Error { IO(Arc<io::Error>), - #[error("config does not exist")] + #[error("Config does not exist")] ConfigMissing, #[error("JSON parsing error: {0}")] SerdeJSON(Arc<serde_json::Error>), #[error("TOML parsing error: {0}")] SerdeTOML(#[from] toml::de::Error), RustFmt(Arc<rust_format::Error>), - #[error("the element tree contains no matching element")] + #[error("The element tree contains no matching element")] NonExistentElement, - #[error("the file dialog has been closed without selecting a valid option")] + #[error("The file dialog has been closed without selecting a valid option")] DialogClosed, #[error("{0}")] Other(String), |
