mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 22:02:22 -05:00
Add an error message when a file is not embedded
This commit is contained in:
parent
23f0fae1c8
commit
b5e17c965d
1 changed files with 4 additions and 1 deletions
|
@ -113,6 +113,9 @@ impl EmbeddedFiles {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Err(io::Error::from(io::ErrorKind::NotFound))
|
Err(io::Error::new(
|
||||||
|
io::ErrorKind::NotFound,
|
||||||
|
format!("{} not found in the embedded files", path.display()),
|
||||||
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue