summaryrefslogtreecommitdiff
path: root/iced_builder/src/error.rs
diff options
context:
space:
mode:
authorpml68 <contact@pml68.me>2024-12-08 00:15:12 +0100
committerpml68 <contact@pml68.me>2024-12-08 00:15:12 +0100
commit9b23b535e256840717d8b6476bfdc41d2a51e580 (patch)
tree0b0b004124a5b884cc92f01a9f5c57fbb39235d7 /iced_builder/src/error.rs
parentfeat: animated theme switching with `iced_anim` crate (diff)
downloadiced-builder-9b23b535e256840717d8b6476bfdc41d2a51e580.tar.gz
feat: switch to `hecrj/iced_fontello` for icon font management
Diffstat (limited to 'iced_builder/src/error.rs')
-rw-r--r--iced_builder/src/error.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/iced_builder/src/error.rs b/iced_builder/src/error.rs
index ab102a6..2fea184 100644
--- a/iced_builder/src/error.rs
+++ b/iced_builder/src/error.rs
@@ -3,12 +3,10 @@ use std::sync::Arc;
use thiserror::Error;
#[derive(Debug, Clone, Error)]
+#[error(transparent)]
pub enum Error {
- #[error(transparent)]
IOError(Arc<io::Error>),
- #[error(transparent)]
SerdeError(Arc<serde_json::Error>),
- #[error(transparent)]
FormatError(Arc<rust_format::Error>),
#[error("The element tree contains no matching element")]
NonExistentElement,