summaryrefslogtreecommitdiff
path: root/cli/fmt_errors.rs
AgeCommit message (Collapse)Author
2021-09-12refactor: Remove duplicated colors.rs file (#11990)Ryan Dahl
2021-07-30chore: upgrade Rust to 1.54.0 (#11554)Yusuke Tanaka
2021-04-22fix(#10292): Don't gray-out internal frames (#10293)Ryan Dahl
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-12-17refactor: Rename runtime/rt to runtime/js (#8806)Nayeem Rahman
2020-11-19refactor(cli): rename fmt_errors::JsError to PrettyJsError (#8435)Bartek Iwańczuk
This commit renames "fmt_errors::JsError" to "PrettyJsError" to avoid confusion with "deno_core::JsError". Consequently "CoreJsError" aliases to "deno_core::JsError" were removed. Additionally source mapping step has been removed from "PrettyJsError::create" to better separate domains.
2020-10-23refactor(cli): migrate run and cache to new infrastructure (#7996)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-09-22refactor(cli/fmt_errors): Color stack traces in Rust (#7628)Nayeem Rahman
2020-09-15refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476)Bert Belder
2020-09-06refactor(core): rename CoreIsolate to JsRuntime (#7373)Bartek Iwańczuk
deno_core/ - rename core_isolate.rs to runtime.rs - rename CoreIsolate to JsRuntime - rename JSError to JsError - rename JSStackFrame to JsStackFrame cli/ - update references from deno_core::CoreIsolate to deno_core::JsRuntime - rename deno_core::JSError to deno_core::JsError - rename fmt_errors::JSError to fmt_errors::JsError
2020-08-26refactor: remove OpError, use ErrBox everywhere (#7187)Bert Belder
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-29refactor: util functions take slices instead of heap values (#6547)Valentin Anger
2020-06-08feat: "deno lint" subcommand (#6125)Bartek Iwańczuk
2020-05-09refactor(cli): unify display of errors from Rust and JS (#5183)Bartek Iwańczuk
2020-05-02fix(cli/fmt_errors): Respect NO_COLOR for stack frames (#5051)Nayeem Rahman
2020-05-01fix misaligned error reporting on tab char (#5032)Fenzland
2020-04-20refactor(cli/fmt_errors): Improve source line formatting (#4832)Nayeem Rahman
2020-04-13refactor(core/js_error): Align JSStackFrame with CallSite (#4715)Nayeem Rahman
Renames and adds missing fields to JSStackFrame from CallSite. Fixes #4705. Cleans up base changes for line and column numbers.
2020-04-11refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706)Nayeem Rahman
2020-04-10fix(core/js_error): Get frame data from prepareStackTrace() (#4690)Nayeem Rahman
Fixes: #2703 Fixes: #2710 Closes: #4153 Closes: #4232 Co-authored-by: Kevin (Kun) Kassimo Qian <kevinkassimo@gmail.com>
2020-04-03clippy (#4618)Kitson Kelly
2020-03-24hide source line if error message longer than 150 chars (#4487)Kevin (Kun) "Kassimo" Qian
2020-03-02Do not convert exceptions to JSON and back (#4214)Bert Belder
2020-03-01Make internel error frames dimmer (#4201)Kevin (Kun) "Kassimo" Qian
2020-01-17workers: minimal error handling and async module loading (#3665)Bartek Iwańczuk
2020-01-05Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600)Ry Dahl
2020-01-02Happy new year! (#3578)Ry Dahl
2019-12-23Upgrades rust to 1.40.0 (#3542)Axetroy
2019-09-15Rename ansi.rs to colors.rs (#2956)Tomohito Nakayama
2019-07-11Refactor error to use dynamic dispatch and traitsBert Belder
This is in preperation for dynamic import (#1789), which is more easily implemented when errors are dynamic.
2019-06-19Combine CLI Errors (#2487)Kitson Kelly