Skip to content

Unclear documentation for handleError #56

@timtucker-dte

Description

@timtucker-dte

For handleError, it's unclear from the documentation what will happen if you throw an error from within the handleError method.

Is the following enough to abort execution automatically?
handleError(context) => {
throw new Error("Stop Processing!");
}

Or would we need to add in an extra call to context.abort?:
handleError(context) => {
context.abort();
throw new Error("Stop Processing!");
}

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