Closed
Description
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | no |
RFC? | yes |
Symfony version | 4.0.0 |
As it is hard to tell Workflow exceptions from other Logic exceptions, it would be nice to have specific exception class instead of LogicException
. It could be WorkflowException
extending LogicException
, with additional workflow
and transition
fields.
Currently, one needs to parse exceptions message to make sure it comes from the Workflow component.
Can make a PR if this looks good enough.