Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ReadAssetBytesError::Io
exposes failing path (#10450)
# Objective Addresses #[10438](#10438) The objective was to include the failing path in the error for the user to see. ## Solution Add a `path` field to the `ReadAssetBytesError::Io` variant to expose the failing path in the error message. ## Migration Guide - The `ReadAssetBytesError::Io` variant now contains two named fields instead of converting from `std::io::Error`. 1. `path`: The requested (failing) path (`PathBuf`) 2. `source`: The source `std::io::Error` --------- Co-authored-by: Alice Cecile <[email protected]>
- Loading branch information