diff options
author | Cre3per <12541974+Cre3per@users.noreply.github.com> | 2022-10-26 15:37:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 15:37:45 +0200 |
commit | 193b8828c5b437b61d6310391fff6a9c6f393b0a (patch) | |
tree | 57e6dd95eab2026ba1278fac8f39f5b1469df7e4 /core/error.rs | |
parent | 6cd9343e8b6f6ede22ec56b06e6918a80c9a3ddd (diff) |
feat(cli): show error cause recursion information (#16384)
Diffstat (limited to 'core/error.rs')
-rw-r--r-- | core/error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/error.rs b/core/error.rs index 7df5c1efa..5ee3355c4 100644 --- a/core/error.rs +++ b/core/error.rs @@ -119,6 +119,8 @@ pub fn to_v8_error<'a>( /// 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. +/// When updating this struct, also update errors_are_equal_without_cause() in +/// fmt_error.rs. #[derive(Debug, PartialEq, Clone, serde::Deserialize, serde::Serialize)] #[serde(rename_all = "camelCase")] pub struct JsError { |