pub enum CliError {
Show 20 variants
BuildError {
err: BuildError,
},
CertsError {
err: CertsError,
},
CheckError {
err: CheckError,
},
DataError {
err: DataError,
},
ImportError {
err: ImportError,
},
InstanceError {
err: InstanceError,
},
PackageError {
err: PackageError,
},
RegistryError {
err: RegistryError,
},
ReplError {
err: ReplError,
},
RunError {
err: RunError,
},
TestError {
err: TestError,
},
VerifyError {
err: VerifyError,
},
VersionError {
err: VersionError,
},
UpgradeError {
err: Error,
},
UtilError {
err: UtilError,
},
OtherError {
err: Error,
},
PackageFileCanonicalizeError {
path: PathBuf,
err: Error,
},
WorkdirCanonicalizeError {
path: PathBuf,
err: Error,
},
IllegalPackageKind {
kind: String,
err: PackageKindError,
},
PackagePairParseError {
raw: String,
err: ParseError,
},
}
Expand description
Collects toplevel and uncategorized errors in the brane-cli package.
Variants§
BuildError
Errors that occur during the build command
Fields
err: BuildError
CertsError
Errors that occur when managing certificates.
Fields
err: CertsError
CheckError
Errors that occur when validating workflow against policy.
Fields
err: CheckError
DataError
Errors that occur during any of the data(-related) command(s)
ImportError
Errors that occur during the import command
Fields
err: ImportError
InstanceError
Errors that occur during identity management.
Fields
err: InstanceError
PackageError
Errors that occur during some package command
Fields
err: PackageError
RegistryError
Errors that occur during some registry command
Fields
err: RegistryError
ReplError
Errors that occur during the repl command
RunError
Errors that occur during the run command
TestError
Errors that occur in the test command
VerifyError
Errors that occur in the verify command
Fields
err: VerifyError
VersionError
Errors that occur in the version command
Fields
err: VersionError
UpgradeError
Errors that occur when upgrading old config files.
UtilError
Errors that occur in some inter-subcommand utility
OtherError
Temporary wrapper around any anyhow error
PackageFileCanonicalizeError
Could not resolve the path to the package file
WorkdirCanonicalizeError
Could not resolve the path to the context
IllegalPackageKind
Could not resolve a string to a package kind
PackagePairParseError
Could not parse a NAME:VERSION pair
Trait Implementations§
source§impl Error for CliError
impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl !Freeze for CliError
impl !RefUnwindSafe for CliError
impl !Send for CliError
impl !Sync for CliError
impl Unpin for CliError
impl !UnwindSafe for CliError
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> ErrorTrace for Twhere
T: Error,
impl<T> ErrorTrace for Twhere
T: Error,
source§fn trace(&self) -> ErrorTraceFormatter<'_>
fn trace(&self) -> ErrorTraceFormatter<'_>
source§impl<T> ErrorTrace for T
impl<T> ErrorTrace for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request