diff options
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 { |