Revert "[CustomOp] Add Dispatcher error callback (#101015)"
This reverts commit c0e5d7e7fee31c332f1cf3d3e4d2305cc1d07bba.
Reverted https://github.com/pytorch/pytorch/pull/101015 on behalf of https://github.com/huydhn due to Revert this as the earlier commits in the stack have been reverted ([comment](https://github.com/pytorch/pytorch/pull/101015#issuecomment-1548476583))