summaryrefslogtreecommitdiff
path: root/cli/op_error.rs
AgeCommit message (Collapse)Author
2020-04-15Make writeSync, readSync, seekSync, openSync, isatty proper synchronous ↵Ryan Dahl
syscalls (#4762)
2020-04-03clippy (#4618)Kitson Kelly
2020-04-03Properly handle invalid utf8 in paths (#4609)dubiousjim
2020-03-24fix: add fsEvent notify::Error casts (#4488)Kevin (Kun) "Kassimo" Qian
2020-03-10Add Deno.umask (#4290)dubiousjim
2020-03-07upgrade rust dependencies (#4270)Ryan Dahl
2020-03-05Allow BadResource errors to take a custom message (#4251)Ryan Dahl
2020-03-02Do not convert exceptions to JSON and back (#4214)Bert Belder
2020-02-23refactor: use OpError instead of ErrBox for errors in ops (#4058)Bartek Iwańczuk
To better reflect changes in error types in JS from #3662 this PR changes default error type used in ops from "ErrBox" to "OpError". "OpError" is a type that can be sent over to JSON; it has all information needed to construct error in JavaScript. That made "GetErrorKind" trait useless and so it was removed altogether. To provide compatibility with previous use of "ErrBox" an implementation of "From<ErrBox> for OpError" was added, however, it is an escape hatch and ops implementors should strive to use "OpError" directly.