Quick note on error handling
parent
5cbfc2f316
commit
954c11becd
|
@ -19,3 +19,7 @@ Support for multiple targets will be done via `Cargo.toml` targets, cross-compil
|
||||||
## Processes
|
## Processes
|
||||||
*To-Do*
|
*To-Do*
|
||||||
- [postcard](https://lib.rs/crates/postcard) for message passing
|
- [postcard](https://lib.rs/crates/postcard) for message passing
|
||||||
|
|
||||||
|
## Error Handling
|
||||||
|
All errors must be handled gracefully by the `kernel`. If possible, they should simply log an error.
|
||||||
|
If not, they can display it to the user, preferrably in a simple format, maybe using something like [const_panic](https://lib.rs/crates/const_panic) or [snafu](https://lib.rs/crates/snafuhttps://lib.rs/crates/snafu).
|
||||||
|
|
Loading…
Reference in New Issue