Skip to content

Specific Exceptions instead of generic Exception raised in DurableOrchestrationClientΒ #579

@jgabaud

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 2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions