Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Recovery out of the stack #6

@jlambert121

Description

@jlambert121

What is the correct way to raise an error partway through the stack and detect it in the previous calls to undo things as needed?

I could wrap each @app.call(env) with begin/rescue and raise errors as needed, but that seems a little inelegant. Is there a better way?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions