summaryrefslogtreecommitdiff
path: root/iced_builder/src/error.rs
diff options
context:
space:
mode:
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,