Skip to content

Return Result instead of Option from FilteredResources::get and similar #17480

Closed
@Shatur

Description

@Shatur

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 of Option with an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-FeatureA new feature, making something new possibleD-TrivialNice and easy! A great choice to get started with BevyS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions