diff options
Diffstat (limited to 'iced_builder/src/error.rs')
| -rw-r--r-- | iced_builder/src/error.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/iced_builder/src/error.rs b/iced_builder/src/error.rs index 2fea184..8876016 100644 --- a/iced_builder/src/error.rs +++ b/iced_builder/src/error.rs @@ -1,5 +1,6 @@ use std::io; use std::sync::Arc; + use thiserror::Error; #[derive(Debug, Clone, Error)] @@ -10,7 +11,9 @@ pub enum Error { FormatError(Arc<rust_format::Error>), #[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), |
