rename ReadIssueError to just IssueError
Error handling is pretty broken in this project :-(
This commit is contained in:
parent
5b1c7a52b9
commit
5e482edb5c
2 changed files with 7 additions and 7 deletions
|
|
@ -12,8 +12,8 @@ pub struct Issues {
|
|||
pub enum ReadIssuesError {
|
||||
#[error(transparent)]
|
||||
StdIoError(#[from] std::io::Error),
|
||||
#[error("Failed to parse issue")]
|
||||
IssueParseError(#[from] crate::issue::ReadIssueError),
|
||||
#[error(transparent)]
|
||||
IssueError(#[from] crate::issue::IssueError),
|
||||
#[error("cannot handle filename")]
|
||||
FilenameError(std::ffi::OsString),
|
||||
#[error(transparent)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue