eventual icon indicating copy to clipboard operation
eventual copied to clipboard

Missing docs: errors thrown by workflow.startExecution

Open sam-goodwin opened this issue 2 years ago • 3 comments

sam-goodwin avatar Feb 26 '23 23:02 sam-goodwin

@thantos where can I find this information?

sam-goodwin avatar Mar 16 '23 09:03 sam-goodwin

I am not 100% sure what this is referring to.

If in a workflow, workflow.startExecution should fail (or we should make it do something).

the workflow name can not exist.

And the execution name cannot start with %

https://github.com/functionless/eventual/blob/3329d364c34bb96c0ae6e689fc8ca01081a56237/packages/@eventual/core-runtime/src/clients/workflow-client.ts#L48

thantos avatar Mar 17 '23 15:03 thantos

It can also fail if the name already exists and the input is different. We need to document the different exceptions that should be expected

sam-goodwin avatar Mar 17 '23 15:03 sam-goodwin