temporalio/sdk-python

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

Opened this issue · 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.