-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: DfxInterfaceBuilder can provide extension manager (#3976)
This is so extension commands can load dfx.json if it references a canister with a type defined by an extension. See https://dfinity.atlassian.net/browse/SDK-1832
- Loading branch information
1 parent
7d36bdd
commit 72cb257
Showing
5 changed files
with
74 additions
and
4 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use crate::error::cache::GetVersionFromCachePathError; | ||
use crate::error::extension::NewExtensionManagerError; | ||
use thiserror::Error; | ||
|
||
#[derive(Error, Debug)] | ||
pub enum NewExtensionManagerFromCachePathError { | ||
#[error(transparent)] | ||
GetVersionFromCachePath(#[from] GetVersionFromCachePathError), | ||
|
||
#[error(transparent)] | ||
NewExtensionManager(#[from] NewExtensionManagerError), | ||
} |
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