pub struct DeveloperFriendlyError {
pub original_error: PipelineError,
pub explanation: String,
pub fix_suggestions: Vec<FixSuggestion>,
pub documentation_links: Vec<String>,
pub code_examples: Vec<CodeExample>,
}Expand description
Enhanced error messages with actionable suggestions and context
Fields§
§original_error: PipelineErrorOriginal error
explanation: StringDetailed explanation for developers
fix_suggestions: Vec<FixSuggestion>Step-by-step suggestions to fix the issue
documentation_links: Vec<String>Related documentation links
code_examples: Vec<CodeExample>Code examples that might help
Trait Implementations§
Source§impl Clone for DeveloperFriendlyError
impl Clone for DeveloperFriendlyError
Source§fn clone(&self) -> DeveloperFriendlyError
fn clone(&self) -> DeveloperFriendlyError
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 DeveloperFriendlyError
impl Debug for DeveloperFriendlyError
Auto Trait Implementations§
impl Freeze for DeveloperFriendlyError
impl RefUnwindSafe for DeveloperFriendlyError
impl Send for DeveloperFriendlyError
impl Sync for DeveloperFriendlyError
impl Unpin for DeveloperFriendlyError
impl UnwindSafe for DeveloperFriendlyError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more