pub struct ActionError {
pub code: ErrorCode,
pub message: String,
pub details: Value,
}Expand description
An actionable failure with structured details; no transport-specific error numbers.
Fields§
§code: ErrorCodeStable error category.
message: StringHuman-readable diagnosis.
details: ValueStructured correction details such as a field pointer or current revision.
Implementations§
Source§impl ActionError
impl ActionError
Trait Implementations§
Source§impl Clone for ActionError
impl Clone for ActionError
Source§impl Debug for ActionError
impl Debug for ActionError
impl Eq for ActionError
Source§impl PartialEq for ActionError
impl PartialEq for ActionError
impl StructuralPartialEq for ActionError
Auto Trait Implementations§
impl Forget for ActionError
impl Freeze for ActionError
impl RefUnwindSafe for ActionError
impl Send for ActionError
impl Sync for ActionError
impl Unpin for ActionError
impl UnsafeUnpin for ActionError
impl UnwindSafe for ActionError
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