mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Add custom display for SyncError
This commit is contained in:
parent
7ebf8dd84a
commit
96a606d78c
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ pub enum NetworkErrorKind {
|
|||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Snafu)]
|
||||
#[snafu(display("{kind:?}: {info}"))]
|
||||
pub struct SyncError {
|
||||
pub info: String,
|
||||
pub kind: SyncErrorKind,
|
||||
|
|
Loading…
Reference in a new issue