HomePhabricator

[RFC] capture_dauphin_error returns PythonError

Authored by alangenfeld on Mon, Oct 7, 4:07 PM.

Description

[RFC] capture_dauphin_error returns PythonError

Summary: Changes @capture_dauphin_error to return uncaught exceptions as PythonError. Updates existing return types to include PythonError and removes a type that felt redundant.

Test Plan: existing tests

Reviewers: #ft, schrockn

Reviewed By: #ft, schrockn

Subscribers: schrockn

Differential Revision: https://dagster.phacility.com/D1232