pub enum ActflowError {
}Expand description
Unified error type for all Actflow operations.
Each variant represents a specific category of error that can occur during workflow definition, execution, or storage operations.
Variants§
Engine(String)
Engine-level errors (startup, shutdown, configuration).
Config(String)
Configuration parsing or validation errors.
Convert(String)
Data conversion errors (JSON, protobuf, etc.).
Script(String)
Script execution errors (JavaScript, Python).
Exception
Structured exception with error code.
Runtime(String)
Runtime execution errors.
Store(String)
Storage operation errors.
Process(String)
Process lifecycle errors.
Workflow(String)
Workflow definition errors.
Node(String)
Node definition or execution errors.
Edge(String)
Edge definition errors.
Action(String)
Action execution errors.
IoError(String)
I/O operation errors.
Queue(String)
Message queue errors.
Trait Implementations§
Source§impl Clone for ActflowError
impl Clone for ActflowError
Source§fn clone(&self) -> ActflowError
fn clone(&self) -> ActflowError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActflowError
impl Debug for ActflowError
Source§impl<'de> Deserialize<'de> for ActflowError
impl<'de> Deserialize<'de> for ActflowError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ActflowError
impl Display for ActflowError
Source§impl Error for ActflowError
impl Error for ActflowError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ActflowError> for Error
impl From<ActflowError> for Error
Source§fn from(val: ActflowError) -> Self
fn from(val: ActflowError) -> Self
Converts to this type from the input type.
Source§impl From<ActflowError> for String
impl From<ActflowError> for String
Source§fn from(val: ActflowError) -> Self
fn from(val: ActflowError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ActflowError
impl From<Error> for ActflowError
Source§impl From<Error> for ActflowError
impl From<Error> for ActflowError
Source§impl From<FromUtf8Error> for ActflowError
impl From<FromUtf8Error> for ActflowError
Source§fn from(_: FromUtf8Error) -> Self
fn from(_: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<ValidationError<'_>> for ActflowError
impl From<ValidationError<'_>> for ActflowError
Source§fn from(error: ValidationError<'_>) -> Self
fn from(error: ValidationError<'_>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActflowError
impl PartialEq for ActflowError
Source§impl Serialize for ActflowError
impl Serialize for ActflowError
impl StructuralPartialEq for ActflowError
Auto Trait Implementations§
impl Freeze for ActflowError
impl RefUnwindSafe for ActflowError
impl Send for ActflowError
impl Sync for ActflowError
impl Unpin for ActflowError
impl UnwindSafe for ActflowError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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::RequestSource§impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
fn overflowing_into(self) -> (U, bool)
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
fn rounding_into(self, rm: RoundingMode) -> (U, Ordering)
Source§impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
fn saturating_into(self) -> U
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<T> ToDebugString for Twhere
T: Debug,
impl<T> ToDebugString for Twhere
T: Debug,
Source§fn to_debug_string(&self) -> String
fn to_debug_string(&self) -> String
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.