Skip to content

Specific Exceptions instead of generic Exception raised in DurableOrchestrationClient #579

Description

@jgabaud

💡 Feature description
All the errors in DurableOrchestrationClient are raised with raise Exception(message), even when it's a known case. Can we have more specific Exceptions that we can except specifically?

Also, it would be great to handle all the exceptions that can be returned instead of just the most common ones.

💭 Describe alternatives you've considered
if "xxx" in str(e):...

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFeature requests.P2Priority 2fixed-in-v2Fixed in azure-functions-durable 2.x

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions