A simple plugin to install fallible systems to bevy
Library provides two main components: #[fallible_system]
attribute macro and SystemErrorEvent
struct.
Essentially, every fallible_system will generate a SystemErrorEvent
event if it results in an error, and that's about it.
For simplier usage, there is fallibleSystemPlugin
to register everything you'll need to recieve error events.
```rust // Some system that might fail
fn system(assetserver: Res
// Let's make another system to read every event about other // systems failures and report !
struct ReportSystemState{ reader: EventReader
fn main() { App::build() .addplugin(fallibleSystemPlugin) .addstartupsystem(system.system()) .addsystem(report_system.system()) .run(); } ```