What problem does this solve or what need does it fill?
Cannot exit app without panic when error occurs.
I'm developing game server and need to keep server running.
What solution would you like?
pub type ErrorHandler = fn(BevyError, ErrorContext); /// change to-> pub type ErrorHandler = fn(BevyError, ErrorContext, MessageWriter<AppExit>);
#[derive(Resource, Deref, DerefMut, Copy, Clone)]
pub struct FallbackErrorHandler(pub ErrorHandler);
What alternative(s) have you considered?
pub type ErrorHandler = fn(BevyError, ErrorContext); /// change to-> pub type ErrorHandler = fn(BevyError, ErrorContext) -> Option<AppEixt>;
#[derive(Resource, Deref, DerefMut, Copy, Clone)]
pub struct FallbackErrorHandler(pub ErrorHandler);
What problem does this solve or what need does it fill?
Cannot exit app without panic when error occurs.
I'm developing game server and need to keep server running.
What solution would you like?
What alternative(s) have you considered?