mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Switched to Debug trait object for backend errors
This commit is contained in:
parent
81ca86ad06
commit
752eca07b8
@ -1,6 +1,6 @@
|
||||
use crate::render::RenderError;
|
||||
use client;
|
||||
use std::any;
|
||||
use std::fmt::Debug;
|
||||
|
||||
/// Represents any error that may be triggered by Voxygen.
|
||||
#[derive(Debug)]
|
||||
@ -8,7 +8,7 @@ pub enum Error {
|
||||
/// An error relating to the internal client.
|
||||
ClientError(client::Error),
|
||||
/// A miscellaneous error relating to a backend dependency.
|
||||
BackendError(Box<dyn any::Any>),
|
||||
BackendError(Box<dyn Debug>),
|
||||
/// An error relating the rendering subsystem.
|
||||
RenderError(RenderError),
|
||||
/// A miscellaneous error with an unknown or unspecified source.
|
||||
|
Loading…
Reference in New Issue
Block a user