sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

[Feature Request] Make payload conversion errors on workflow input more discriminable

Open cretz opened this issue 6 months ago • 0 comments

Describe the solution you'd like

On invalid workflow input, if a bad value is called, the task fails with a runtime error. This should be a better error type that can be set on workflow_failure_exception_types. Consider reusing this exception in any other place that has payload conversion errors provided we are comfortable with the compatibility break of changing an error type.

cretz avatar Aug 14 '24 15:08 cretz