Set options for what happens when an error is encountered, currently it literally stops the flow. To be able to manage such events.
And of course also receive regular notifications about errors.