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
@ -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 New Issue
Block a user