-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marcin Nowak-Liebiediew
committed
Nov 29, 2023
1 parent
4ccdc9e
commit 984524c
Showing
9 changed files
with
104 additions
and
80 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
use crate::error::fs::FsError; | ||
use crate::error::structured_file::StructuredFileError; | ||
use crate::error::structured_file::ReadConfigurationError; | ||
use thiserror::Error; | ||
|
||
#[derive(Error, Debug)] | ||
pub enum LoadDfxConfigError { | ||
#[error("Failed to resolve config path: {0}")] | ||
ResolveConfigPathFailed(FsError), | ||
|
||
#[error("Failed to load dfx configuration: {0}")] | ||
LoadFromFileFailed(StructuredFileError), | ||
|
||
#[error("Failed to determine current working dir: {0}")] | ||
DetermineCurrentWorkingDirFailed(std::io::Error), | ||
|
||
#[error("Failed to load dfx configuration: {0}")] | ||
LoadFromFileFailed(ReadConfigurationError), | ||
} |
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
Oops, something went wrong.