Duolith docs

Errors E0600 to E0699

E0607 Name used twice

Message problem

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

Within a domain, each shape, operation, event, failure and workflow has its own name, because generated code and the client name them all. A workflow's run model takes the name <Workflow>Run, and the built-in failures (badRequest, invalid, signInNeeded, notAllowed, notFound, tooManyRequests, tooLarge, unavailable, failed) are every operation's already.

How to fix it

Rename one of them.

In a terminal

duolith explain E0607