pub struct Error {
pub context: Option<String>,
pub payload: Option<String>,
pub stack_trace: Option<StackTrace>,
}Expand description
Error describes why the execution was abnormally terminated.
This type is not used in any activity, and only used as part of another schema.
Fields§
§context: Option<String>Human-readable stack trace string.
payload: Option<String>Error message and data returned represented as a JSON string.
stack_trace: Option<StackTrace>Stack trace with detailed information of where error was generated.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Error
impl<'de> Deserialize<'de> for Error
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
impl Part for Error
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<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