Merge #201
201: Derive `Clone` for `InstanceError` and `LoadingError` r=MaikKlein a=koute Co-authored-by: Jan Bujak <j@exia.io>
This commit is contained in:
commit
13a1a3f1b7
|
@ -39,7 +39,7 @@ pub struct EntryCustom<L> {
|
||||||
lib: L,
|
lib: L,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub enum LoadingError {
|
pub enum LoadingError {
|
||||||
LibraryLoadError(String),
|
LibraryLoadError(String),
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ impl fmt::Display for LoadingError {
|
||||||
|
|
||||||
impl Error for LoadingError {}
|
impl Error for LoadingError {}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub enum InstanceError {
|
pub enum InstanceError {
|
||||||
LoadError(Vec<&'static str>),
|
LoadError(Vec<&'static str>),
|
||||||
VkError(vk::Result),
|
VkError(vk::Result),
|
||||||
|
|
Loading…
Reference in a new issue