-
-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(installation)!: Return Result instead of panicking in `Octocrab::…
…installation` (#687) * fix(installation)!: Return Result instead of panicking Refs: #641 BREAKING CHANGE: `Octocrab::installation` now returns a Result, changing the public API. * refactor(error)!: add `installation` variant Adds a new variant `Installation` on the Error enum and also makes the enum non-exhaustive to prevent further breaking changes when adding new variants in the future. * style: remove unused import * style: remove unnecessary error let binding * refactor: remove installation error message
- Loading branch information
1 parent
6ca4140
commit 4164ea9
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters