pub enum RunError {
Show 27 variants
WriteError {
err: Error,
},
LocalPackageIndexError {
err: Error,
},
LocalDataIndexError {
err: Error,
},
PackagesDirError {
err: UtilError,
},
DatasetsDirError {
err: UtilError,
},
ResultsDirCreateError {
err: Error,
},
InstanceInfoError {
err: InstanceError,
},
ActiveInstanceReadError {
err: InstanceError,
},
InstancePathError {
name: String,
err: InstanceError,
},
RemotePackageIndexError {
address: String,
err: ApiError,
},
RemoteDataIndexError {
address: String,
err: ApiError,
},
RemoteDelegatesError {
address: String,
err: DelegatesError,
},
ClientConnectError {
address: String,
err: Error,
},
AppIdError {
address: String,
raw: String,
err: Box<IdError>,
},
SessionCreateError {
address: String,
err: Status,
},
CompileError {
what: String,
errs: Vec<Error>,
},
WorkflowSerializeError {
err: Error,
},
CommandRequestError {
address: String,
err: Status,
},
ValueParseError {
address: String,
raw: String,
err: Error,
},
ExecDenied {
err: Box<dyn Error>,
},
ExecError {
err: Box<dyn Error>,
},
UnknownDataset {
name: String,
},
UnavailableDataset {
name: String,
locs: Vec<String>,
},
DataDownloadError {
err: DataError,
},
StdinReadError {
err: Error,
},
FileReadError {
path: PathBuf,
err: Error,
},
LoginFileError {
err: UtilError,
},
}
Expand description
Collects errors during the run subcommand.
Variants§
WriteError
Failed to write to the given formatter.
LocalPackageIndexError
Failed to create the local package index.
LocalDataIndexError
Failed to create the local data index.
PackagesDirError
Failed to get the packages directory.
DatasetsDirError
Failed to get the datasets directory.
ResultsDirCreateError
Failed to create a temporary intermediate results directory.
InstanceInfoError
Failed to fetch the login file.
Fields
err: InstanceError
ActiveInstanceReadError
Failed to get the path of the active instance.
Fields
err: InstanceError
InstancePathError
Failed to get the active instance.
RemotePackageIndexError
Failed to create the remote package index.
RemoteDataIndexError
Failed to create the remote data index.
RemoteDelegatesError
Failed to pull the delegate map from the remote delegate index(ish - brane-api
)
ClientConnectError
Could not connect to the given address
AppIdError
Failed to parse the AppId send by the remote driver.
Note: err
is boxed to avoid this error enum growing too large.
SessionCreateError
Could not create a new session on the given address
CompileError
An error occurred while compile the given snippet. It will already have been printed to stdout.
WorkflowSerializeError
Failed to serialize the compiled workflow.
CommandRequestError
Requesting a command failed
ValueParseError
Failed to parse the value returned by the remote driver.
ExecDenied
The workflow was denied by some checker.
ExecError
Failed to run the workflow
UnknownDataset
The returned dataset was unknown.
The returend dataset was known but not available locally.
DataDownloadError
Failed to download remote dataset.
StdinReadError
Failed to read the source from stdin
FileReadError
Failed to read the source from a given file
LoginFileError
Failed to load the login file.
Trait Implementations§
source§impl Error for RunError
impl Error for RunError
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 RunError
impl !RefUnwindSafe for RunError
impl !Send for RunError
impl !Sync for RunError
impl Unpin for RunError
impl !UnwindSafe for RunError
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