(error)
| 295 | |
| 296 | /** @param {any} error */ |
| 297 | const handle_error = (error) => { |
| 298 | errored = { error }; // wrap in object in case a promise rejects with a falsy value |
| 299 | |
| 300 | if (!aborted(active)) { |
| 301 | invoke_error_boundary(error, active); |
| 302 | } |
| 303 | }; |
| 304 | |
| 305 | var promise = Promise.resolve(thunks[0]()).catch(handle_error); |
| 306 |
no test coverage detected