EventLoopError::ExitFailure(code)
and PumpStatus::Exit(code)
shouldn't use error codes
#3059
Labels
EventLoopError::ExitFailure(code)
and PumpStatus::Exit(code)
shouldn't use error codes
#3059
After #3056, we should probably not use error codes anymore.
All uses of
EventLoopError::ExitFailure(i32)
could returnEventLoopError::Os(OsError)
instead.PumpStatus::Exit(i32)
could probably bePumpStatus::Exit(Result<(), OsError>)
instead, unless we want to add another variant for that.The text was updated successfully, but these errors were encountered: