handleError

Handles an error that occurred during execution.

Return

Whether the error was handled.

Parameters

state

The state to execute in.

error

The error that occurred.