private function error(callable $error): void
    {
        if ($error instanceof Closure) {
            $this->options["error"] = $error->bindTo($this);
        } else {
            $this->options["error"] = $error;
        }
    }
private function error(callable $error): void
    {
        if ($error instanceof Closure) {
            $this->options["error"] = $error->bindTo($this);
        } else {
            $this->options["error"] = $error;
        }
    }
private function error ( callable $ error ) : void { if ( $ error instanceof Closure ) { $ this -> options [ "error" ] = $ error -> bindTo ( $ this ) ; } else { $ this -> options [ "error" ] = $ error ; } }
Set the error handler.
Set the error handler .