Struct deno_core::error::JsError [−][src]
pub struct JsError {
pub message: String,
pub source_line: Option<String>,
pub script_resource_name: Option<String>,
pub line_number: Option<i64>,
pub start_column: Option<i64>,
pub end_column: Option<i64>,
pub frames: Vec<JsStackFrame>,
pub stack: Option<String>,
}
Expand description
A JsError
represents an exception coming from V8, with stack frames and
line numbers. The deno_cli crate defines another JsError
type, which wraps
the one defined here, that adds source map support and colorful formatting.
Fields
message: String
source_line: Option<String>
script_resource_name: Option<String>
line_number: Option<i64>
start_column: Option<i64>
end_column: Option<i64>
frames: Vec<JsStackFrame>
stack: Option<String>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JsError
impl UnwindSafe for JsError
Blanket Implementations
Mutably borrows from an owned value. Read more