From 193b8828c5b437b61d6310391fff6a9c6f393b0a Mon Sep 17 00:00:00 2001 From: Cre3per <12541974+Cre3per@users.noreply.github.com> Date: Wed, 26 Oct 2022 15:37:45 +0200 Subject: feat(cli): show error cause recursion information (#16384) --- core/error.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/error.rs') 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 { -- cgit v1.2.3