-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump derive_more from 0.99.18 to 1.0.0 (#81)
* build(deps): bump derive_more from 0.99.18 to 1.0.0 Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.18 to 1.0.0. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.18...v1.0.0) --- updated-dependencies: - dependency-name: derive_more dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: upgrade invocations of derive_more --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rob Ede <[email protected]>
- Loading branch information
1 parent
b288449
commit 9adf70c
Showing
9 changed files
with
57 additions
and
58 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
use derive_more::{Display, Error, From}; | ||
use derive_more::derive::{Display, Error, From}; | ||
use semver::{Error as SemVerError, Version}; | ||
|
||
use crate::spec::{r#ref::RefError, schema::Error as SchemaError}; | ||
|
||
/// Spec Errors | ||
#[derive(Debug, Display, Error, From)] | ||
pub enum Error { | ||
#[display(fmt = "Reference error")] | ||
#[display("Reference error")] | ||
Ref(RefError), | ||
|
||
#[display(fmt = "Schema error")] | ||
#[display("Schema error")] | ||
Schema(SchemaError), | ||
|
||
#[display(fmt = "Semver error")] | ||
#[display("Semver error")] | ||
SemVerError(SemVerError), | ||
|
||
#[display(fmt = "Unsupported spec file version ({})", _0)] | ||
#[display("Unsupported spec file version ({})", _0)] | ||
UnsupportedSpecFileVersion(#[error(not(source))] Version), | ||
} |
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
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