Skip to content

Commit 9c107d5

Browse files
authored
Create util.jl
1 parent 287d9b5 commit 9c107d5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/util.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
function recursively_unwrap_task_failed_ex(ex::ErrorException)
2+
return ex
3+
end
4+
5+
function recursively_unwrap_task_failed_ex(outer_ex::TaskFailedException)
6+
return recursively_unwrap_task_failed_ex(outer_ex.task.exception)
7+
end

0 commit comments

Comments
 (0)