pub enum Error {
Show 14 variants
UnknownEdgeIdx {
id: String,
func_id: FunctionId,
edge_idx: usize,
max: usize,
},
UnknownExecutor {
id: String,
node: ProgramCounter,
domain: String,
},
UnknownFuncId {
id: String,
func_id: FunctionId,
},
UnknownProvider {
id: String,
node: ProgramCounter,
domain: String,
dataname: DataName,
},
UnplannedInput {
id: String,
node: ProgramCounter,
input: DataName,
},
UnplannedNode {
id: String,
node: ProgramCounter,
},
WorkflowSerialize {
id: String,
err: Error,
},
RegistryRequest {
domain: String,
addr: Address,
err: Error,
},
RegistryRequestSend {
domain: String,
addr: Address,
err: Error,
},
RegistryResponseDownload {
domain: String,
addr: Address,
err: Error,
},
RegistryResponseFailure {
domain: String,
addr: Address,
code: StatusCode,
response: Option<String>,
},
RegistryResponseParse {
domain: String,
addr: Address,
raw: String,
err: Error,
},
WorkerCheck {
domain: String,
addr: Address,
err: Status,
},
WorkerConnect {
domain: String,
addr: Address,
err: JobServiceError,
},
}
Expand description
Defines errors originating from the check function & check futures.
Variants§
UnknownEdgeIdx
A given edge index was out-of-range for the given function.
UnknownExecutor
The location at which a node was planned was unknown to us.
UnknownFuncId
A given function ID was not known for the given workflow.
UnknownProvider
The location which was planned to provide an input was unknown to us.
UnplannedInput
An input to a given node was unplanned.
UnplannedNode
A node was unplanned.
WorkflowSerialize
Failed to serialize the Workflow
.
RegistryRequest
Failed to build a request to the given registry.
RegistryRequestSend
Failed to send a request to the given registry.
RegistryResponseDownload
Failed to download the response of the given registry.
RegistryResponseFailure
The response of the given registry was not a success.
RegistryResponseParse
Failed to parse the response of the given registry.
WorkerCheck
Failed to send the CheckRequest to the worker.
WorkerConnect
Failed to connect to the given worker.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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 Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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