mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 13:44:08 +00:00
workers: minimal error handling and async module loading (#3665)
This commit is contained in:
parent
d720309203
commit
5fa056e53b
12 changed files with 300 additions and 60 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue