pub struct InvocationError {
pub request_id: String,
pub error_type: String,
pub error_message: String,
pub stack_trace: Option<Vec<String>>,
pub received_at: DateTime<Utc>,
}Expand description
Error response from a failed invocation.
Fields§
§request_id: StringThe request ID this error is for.
error_type: StringError type.
error_message: StringError message.
stack_trace: Option<Vec<String>>Stack trace if available.
received_at: DateTime<Utc>Timestamp when the error was received.
Trait Implementations§
Source§impl Clone for InvocationError
impl Clone for InvocationError
Source§fn clone(&self) -> InvocationError
fn clone(&self) -> InvocationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvocationError
impl Debug for InvocationError
Source§impl<'de> Deserialize<'de> for InvocationError
impl<'de> Deserialize<'de> for InvocationError
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
Auto Trait Implementations§
impl Freeze for InvocationError
impl RefUnwindSafe for InvocationError
impl Send for InvocationError
impl Sync for InvocationError
impl Unpin for InvocationError
impl UnwindSafe for InvocationError
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