protected function exceptionMessage(\Exception $e)
    {
        return get_class($e) . ' in ' . $e->getFile() . ':' . $e->getLine() . ' "' . $e->getMessage() . '"';
    }
protected function exceptionMessage(\Exception $e)
    {
        return get_class($e) . ' in ' . $e->getFile() . ':' . $e->getLine() . ' "' . $e->getMessage() . '"';
    }
protected function exceptionMessage ( \ Exception $ e ) { return get_class ( $ e ) . ' in ' . $ e -> getFile ( ) . ':' . $ e -> getLine ( ) . ' "' . $ e -> getMessage ( ) . '"' ; }
Format an exception for logging it.

@param \Exception $e

@return string
Format an exception for logging it .