Skip to content

[Docs]: Error Handling Best Practice #465

@hffmnn

Description

@hffmnn

Issue

There are explicit error handling docs in the python SDK available here. Maybe it would make sense, to have something like that also as part of this repo?

Why I come up with this:
Looking at the docs it feels like all the error handling is fully automatic but I had some weird issues in e.g. a map function: when throwing inside the context.map I thought the underlying errors are still availble via the getErrors function but I wasn't able to get the underlying errror. My workaround was that I try/catched in the map function itself, did a logging there and rethrew, but I have no idea if this is considered best practice.

Page/Location

https://github.com/aws/aws-durable-execution-sdk-python/blob/main/docs/advanced/error-handling.md

Suggested Fix

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions