Skip to content

Commit

Permalink
Add try catches to anything that can throw
Browse files Browse the repository at this point in the history
UR_CHECK_ERROR must be called within a try catch block, as it can throw.

For functions that don't return a `ur_result_handle_t`, and which might
throw, make sure these funcs are only called within try catches in the
caller funcs, and that they are not exposed to the user.
  • Loading branch information
hdelan committed Nov 18, 2024
1 parent e4164ec commit 428a480
Show file tree
Hide file tree
Showing 2 changed files with 542 additions and 556 deletions.
Loading

0 comments on commit 428a480

Please sign in to comment.