/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/specs/run/complex_error/complex_error.ts
18 строк
442 B
Mohammad Sulaiman
chore: deprecate run itests (#26444)
05 ноя 2024, 09:39
Не верифицирован
05 ноя 2024, 09:39
89f0b79
Код
Авторство
О чём код?
const error = new AggregateError( [ new AggregateError([new Error("qux1"), new Error("quux1")]), new Error("bar1", { cause: new Error("baz1") }), ], "foo1", { cause: new AggregateError([ new AggregateError([new Error("qux2"), new Error("quux2")]), new Error("bar2", { cause: new Error("baz2") }), ], "foo2"), }, ); console.log(error.stack); console.log(); console.log(error); console.log(); throw error;