This function sets the sandbox exception handler. The handler accepts the thrown exception and the sandbox instance
as arguments. If the exception handler does not handle exceptions correctly then the sandbox's security may
become compromised!
public setExceptionHandler ( callable $handler ) | ||
$handler | callable | Callable to handle thrown exceptions |