(2/2) Make TorchScript Preserve Fully Qualified Class Name for Python Exceptions: frontend change (#72899)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72899
Reland D33282878 (https://github.com/pytorch/pytorch/commit/911d527b870bb4371da39be0c18a1ce109acb1d5). This is the frontend change.
ghstack-source-id: 149204031
Test Plan: Refer to D33282878 (https://github.com/pytorch/pytorch/commit/911d527b870bb4371da39be0c18a1ce109acb1d5). Also check CI
Reviewed By: gmagogsfm
Differential Revision: D34252127
fbshipit-source-id: 27b17ddd4d05d904eb91fd9ee094d9121f00e388
(cherry picked from commit 1d276baca308110ac40111ccd622400b3bbdc864)