Skip to content

Experiment with a Catch node to help with flow control around tri-state subtrees #112

Description

@jbcpollak

this might end up getting too verbose, but something like the following might help manage exception cases:

const catchTree = new Catch(EXCEPTION_CODE, tryTree, successTree, exceptionTree, finallyTree);

I'm not really sure what form the EXCEPTION_CODE would look like or how tryTree would know how to throw it - perhaps a specially monitored ResultCode?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions