Improve IO error message
This commit is contained in:
parent
b6cc084145
commit
f500434e60
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## [Unreleased](https://github.com/dalance/sv-parser/compare/v0.6.3...Unreleased) - ReleaseDate
|
## [Unreleased](https://github.com/dalance/sv-parser/compare/v0.6.3...Unreleased) - ReleaseDate
|
||||||
|
|
||||||
|
* [Changed] error message of Error::Io
|
||||||
|
|
||||||
## [v0.6.3](https://github.com/dalance/sv-parser/compare/v0.6.2...v0.6.3) - 2020-02-13
|
## [v0.6.3](https://github.com/dalance/sv-parser/compare/v0.6.2...v0.6.3) - 2020-02-13
|
||||||
|
|
||||||
## [v0.6.2](https://github.com/dalance/sv-parser/compare/v0.6.1...v0.6.2) - 2020-02-13
|
## [v0.6.2](https://github.com/dalance/sv-parser/compare/v0.6.1...v0.6.2) - 2020-02-13
|
||||||
|
@ -5,7 +5,7 @@ use thiserror::Error;
|
|||||||
|
|
||||||
#[derive(Error, Debug)]
|
#[derive(Error, Debug)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
#[error("IO error")]
|
#[error("IO error: {0}")]
|
||||||
Io(#[from] std::io::Error),
|
Io(#[from] std::io::Error),
|
||||||
#[error("File error: {path:?}")]
|
#[error("File error: {path:?}")]
|
||||||
File {
|
File {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user