mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Return winit::error::EventLoopError to caller
This commit is contained in:
@@ -316,6 +316,11 @@ pub enum Error {
|
||||
#[error("winit error: {0}")]
|
||||
Winit(#[from] winit::error::OsError),
|
||||
|
||||
/// An error from [`winit::EventLoop`].
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[error("winit EventLoopError: {0}")]
|
||||
WinitEventLoop(#[from] winit::error::EventLoopError),
|
||||
|
||||
/// An error from [`glutin`] when using [`glow`].
|
||||
#[cfg(all(feature = "glow", not(target_arch = "wasm32")))]
|
||||
#[error("glutin error: {0}")]
|
||||
|
||||
Reference in New Issue
Block a user