public function callError() {
        if (!($this->error instanceof Error)) {
            $this->error = new Error();
        }

        $status = $this->error->getStatus();
        $this->app->response->status($status);

        if (is_callable($this->options["error"])) {
            $this->options["error"]($this->error);
        }
    }