Skip to content

Commit

Permalink
feat: Implement std::error::Error for window_vibrancy::Error (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Oct 5, 2023
1 parent ce6e299 commit df08bfa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/std-error.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"window-vibrancy": "patch"
---

`window_vibrancy::Error` implements [`std::error::Error`](https://doc.rust-lang.org/std/error/trait.Error.html).
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,5 @@ impl std::fmt::Display for Error {
}
}
}

impl std::error::Error for Error {}

0 comments on commit df08bfa

Please sign in to comment.