public function dump()
 {
     $exception = $this->request->getException();
     if ($exception) {
         $message = $exception->getMessage();
         if (!empty($message)) {
             echo sprintf('"%s"', $message);
         } else {
             echo var_export($exception, 1);
         }
     }
 }