Enum brane_cli::errors::CheckError
source · pub enum CheckError {
ActiveInstanceInfoLoad {
err: InstanceError,
},
AstCompile {
input: String,
},
DataIndexRetrieve {
url: String,
err: Error,
},
DriverCheck {
address: Address,
err: Status,
},
DriverConnect {
address: Address,
err: DriverServiceError,
},
InputFileRead {
path: PathBuf,
err: Error,
},
InputStdinRead {
err: Error,
},
PackageIndexRetrieve {
url: String,
err: Error,
},
WorkflowCompile {
input: String,
err: Box<Self>,
},
WorkflowSerialize {
input: String,
err: Error,
},
}
Expand description
Defines errors originating from the brane check
-subcommand.
Variants§
ActiveInstanceInfoLoad
Failed to load the active instance info file.
Fields
§
err: InstanceError
AstCompile
The compile step from brane_ast
failed.
DataIndexRetrieve
Failed to retrieve the data index.
DriverCheck
The Driver failed to check.
DriverConnect
Failed to connect to the driver.
InputFileRead
Failed to read the input from the given file.
InputStdinRead
Failed to read the input from stdin.
PackageIndexRetrieve
Failed to retrieve the package index.
WorkflowCompile
Failed to compile a given workflow.
WorkflowSerialize
Failed to serialize the compiled workflow.
Trait Implementations§
source§impl Debug for CheckError
impl Debug for CheckError
source§impl Display for CheckError
impl Display for CheckError
source§impl Error for CheckError
impl Error for CheckError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !Freeze for CheckError
impl !RefUnwindSafe for CheckError
impl Send for CheckError
impl Sync for CheckError
impl Unpin for CheckError
impl !UnwindSafe for CheckError
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
Mutably borrows from an owned value. Read more
source§impl<T> ErrorTrace for Twhere
T: Error,
impl<T> ErrorTrace for Twhere
T: Error,
source§fn trace(&self) -> ErrorTraceFormatter<'_>
fn trace(&self) -> ErrorTraceFormatter<'_>
Returns a formatter that writes the error to the given formatter, with any sources it has. Read more
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>
Wrap the input message
T
in a tonic::Request