Example #1
0
 /**
  * Get an error response.
  *
  * @param int        $status HTTP status code.
  * @param \Exception $ex     Exception.
  *
  * @return Response
  */
 public function runError($status, \Exception $ex = null)
 {
     return $this->router->runError($status, $this->req, $ex);
 }