Struct aws_sdk_finspace::types::ErrorInfo
source · #[non_exhaustive]pub struct ErrorInfo {
pub error_message: Option<String>,
pub error_type: Option<ErrorDetails>,
}
Expand description
Provides details in the event of a failed flow, including the error type and the related error message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.error_message: Option<String>
Specifies the error message that appears if a flow fails.
error_type: Option<ErrorDetails>
Specifies the type of error.
Implementations§
source§impl ErrorInfo
impl ErrorInfo
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
Specifies the error message that appears if a flow fails.
sourcepub fn error_type(&self) -> Option<&ErrorDetails>
pub fn error_type(&self) -> Option<&ErrorDetails>
Specifies the type of error.
Trait Implementations§
source§impl PartialEq for ErrorInfo
impl PartialEq for ErrorInfo
impl StructuralPartialEq for ErrorInfo
Auto Trait Implementations§
impl RefUnwindSafe for ErrorInfo
impl Send for ErrorInfo
impl Sync for ErrorInfo
impl Unpin for ErrorInfo
impl UnwindSafe for ErrorInfo
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
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>
Creates a shared type from an unshared type.