pub struct VtaError {
pub area: Area,
pub number: u16,
pub message: String,
pub source: Option<Box<dyn Error + Send + Sync>>,
}Expand description
The structured error type returned across the workspace.
Fields§
§area: AreaThe subsystem area.
number: u16The stable per-area number (rendered zero-padded to four digits).
message: StringA human-readable, actionable message.
source: Option<Box<dyn Error + Send + Sync>>An optional underlying cause.
Implementations§
Trait Implementations§
Source§impl Error for VtaError
impl Error for VtaError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for VtaError
impl !UnwindSafe for VtaError
impl Freeze for VtaError
impl Send for VtaError
impl Sync for VtaError
impl Unpin for VtaError
impl UnsafeUnpin for VtaError
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