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).
What problem does this solve or what need does it fill?
An
u8often 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>)toAppExit::Error(NonZero<u8>, Option<String>))What alternative(s) have you considered?
Add a new
AppExit::Error(String).