workers: minimal error handling and async module loading (#3665)

This commit is contained in:
Bartek Iwańczuk 2020-01-18 00:43:53 +01:00 committed by Ry Dahl
parent d720309203
commit 5fa056e53b
12 changed files with 300 additions and 60 deletions

View file

@ -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()