Open
Description
What problem does this solve or what need does it fill?
I sometimes call functions inside Bevy systems that return errors. But in applications it's quite useful to have "layered" errors. For example:
Error: unable to apply replication.
Caused by:
Unable to deserialize message for tick 14
Unable to deserialize entity 1v4
What solution would you like?
It would be great something similar to anyhow - an extension trait on any result or option that attaches context.
What alternative(s) have you considered?
Format errors like this manually. But it's not very ergonomic.