Currently StepExecutorTrait trait does handle an exceptions except ValidationException.
This is not for form field error handling, it is historical, see related #896 (comment).
There should be no intermediate custom exception handling.
I do not know any demo to reproduce, code for Behat testing must be probably written newly.
code:
|
} catch (\Throwable $e) { |