diff options
Diffstat (limited to 'cli/fmt_errors.rs')
-rw-r--r-- | cli/fmt_errors.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/fmt_errors.rs b/cli/fmt_errors.rs index 83e417fe2..9979eeb29 100644 --- a/cli/fmt_errors.rs +++ b/cli/fmt_errors.rs @@ -151,6 +151,12 @@ impl JSError { } } +impl Into<V8Exception> for JSError { + fn into(self) -> V8Exception { + self.0 + } +} + impl DisplayFormatter for JSError { fn format_category_and_code(&self) -> String { "".to_string() |