mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Correct Scene loader error description (#10161)
# Objective - Correct the description of an error type for the scene loader ## Solution - Correct the description of an error type for the scene loader
This commit is contained in:
parent
2df90d2bc2
commit
6b070b1776
1 changed files with 3 additions and 3 deletions
|
@ -29,10 +29,10 @@ impl FromWorld for SceneLoader {
|
|||
#[non_exhaustive]
|
||||
#[derive(Debug, Error)]
|
||||
pub enum SceneLoaderError {
|
||||
/// An [IO](std::io) Error
|
||||
#[error("Could load shader: {0}")]
|
||||
/// An [IO Error](std::io::Error)
|
||||
#[error("Error while trying to read the scene file: {0}")]
|
||||
Io(#[from] std::io::Error),
|
||||
/// A [RON](ron) Error
|
||||
/// A [RON Error](ron::error::SpannedError)
|
||||
#[error("Could not parse RON: {0}")]
|
||||
RonSpannedError(#[from] ron::error::SpannedError),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue