feat(error): add custom error handling aliases

This commit is contained in:
doryan 2024-08-10 00:34:45 +04:00
parent 7d2049b59d
commit 94f050f8ca

View File

@ -5,6 +5,9 @@ use crate::gtk::glib;
use glib::Object;
pub type Result<T> = core::result::Result<T, Error>;
pub type Error = std::boxed::Box<dyn std::error::Error>;
glib::wrapper! {
pub struct Frequency(ObjectSubclass<models::Frequency>);
}