Skip to content

Commit 90be04a

Browse files
authored
aten_xla_type.cpp: Use new macros for throwing exceptions. (#9596)
Follow-up: #9588 and #9580 Target: `aten_xla_type.cpp` file In summary, this PR: - Replaces all calls to `OkOrThrow()` and `GetValueOrThrow()` (that throws an exception without source location information of the *"throw-site"*) with the macros `XLA_THROW_IF_ERROR()` and `XLA_ASSIGN_OR_THROW()`. - Corresponds to the fine-grained set of PRs that came from breaking down PR #9580 - Focuses on the `aten_xla_type.cpp` file, replacing every use of those, now deprecated, functions by the newly introduced macros.
1 parent d55cc00 commit 90be04a

File tree

1 file changed

+834
-749
lines changed

1 file changed

+834
-749
lines changed

0 commit comments

Comments
 (0)