Skip to content

allow functions to return errorType in addition to errorMessage #59

Description

@savaki

Currently, when functions return an error the error.Error() is embedded into an error type. However, when using apex with AWS Step Functions, error handling is triggered on errorType rather than errorMessage.

I see function.InvokeError contains a Type field, but I can't find anywhere where it's being used.

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