pub struct VPIError {
pub code: String,
pub message: String,
pub file: Option<String>,
pub line: i32,
pub severity: Option<Severity>,
pub state: Option<ErrorState>,
pub product: String,
}Expand description
Rich error information returned by vpi_chk_error.
Fields§
§code: StringSimulator-defined error code.
message: StringHuman-readable error message.
file: Option<String>Source file path, when provided by the simulator.
line: i32Source line number, or 0 when unavailable.
severity: Option<Severity>Optional mapped error severity.
state: Option<ErrorState>Optional mapped error state.
product: StringSimulator product name reporting the error.
Auto Trait Implementations§
impl Freeze for VPIError
impl RefUnwindSafe for VPIError
impl Send for VPIError
impl Sync for VPIError
impl Unpin for VPIError
impl UnsafeUnpin for VPIError
impl UnwindSafe for VPIError
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