Skip to content

[Feature Request] Extend AppExit::Error(NonZero<u8>) to AppExit::Error(NonZero<u8>, Option<String>)) #24741

Description

@TheCGDF

What problem does this solve or what need does it fill?

An u8 often cannot describe the error well.

It will be helpfull if allowing to insert an `Option' for error message.

Especially for who need to call update() and handle error manually.

What solution would you like?

Extend AppExit::Error(NonZero<u8>) to AppExit::Error(NonZero<u8>, Option<String>))

What alternative(s) have you considered?

Add a new AppExit::Error(String).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AppBevy apps and pluginsC-FeatureA new feature, making something new possibleS-Needs-TriageThis issue needs to be labelled

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions