Return Result
instead of Option
from FilteredResources::get
and similar
#17480
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
C-Feature
A new feature, making something new possible
D-Trivial
Nice and easy! A great choice to get started with Bevy
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
What problem does this solve or what need does it fill?
Resource might not exists or the access might be missing. It would be nice to reflect that in the return value.
What solution would you like?
Return
Result
instead ofOption
with an error.The text was updated successfully, but these errors were encountered: