pub struct CodeError {
pub type_: CodeError_,
pub error_message: String,
pub error_type: Option<Box<String>>,
pub id: Option<Box<String>>,
pub stack_trace: Option<Box<String>>,
}
Expand description
An error that occurred when parsing, compiling or executing a Code node.
Fields§
§type_: CodeError_
The name of this type
error_message: String
The error message or brief description of the error.
error_type: Option<Box<String>>
The type of error e.g. “SyntaxError”, “ZeroDivisionError”.
id: Option<Box<String>>
The identifier for this item.
stack_trace: Option<Box<String>>
Stack trace leading up to the error.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CodeError
impl<'de> Deserialize<'de> for CodeError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CodeError
impl RefUnwindSafe for CodeError
impl Send for CodeError
impl Sync for CodeError
impl Unpin for CodeError
impl UnwindSafe for CodeError
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