feat(error): add custom error handling aliases
This commit is contained in:
parent
7d2049b59d
commit
94f050f8ca
|
@ -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>);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue