src/Northern/Common/Util/ExceptionUtil.php
public static function getFormattedExceptionMessage(\Exception $e)
    {
        $name = static::getExceptionNameHierarchy($e);

        list($file, $line, $stackTrace) = static::getOriginalExceptionFileAndLineNumber($e);

        $message = "{$name}: {$e->getMessage()} ({$e->getcode()})\n{$file} {$line}\n{$stackTrace}";

        return $message;
    }
public static function getFormattedExceptionMessage(\Exception $e)
    {
        $name = static::getExceptionNameHierarchy($e);

        list($file, $line, $stackTrace) = static::getOriginalExceptionFileAndLineNumber($e);

        $message = "{$name}: {$e->getMessage()} ({$e->getcode()})\n{$file} {$line}\n{$stackTrace}";

        return $message;
    }
public static function getFormattedExceptionMessage ( \ Exception $ e ) { $ name = static :: getExceptionNameHierarchy ( $ e ) ; list ( $ file , $ line , $ stackTrace ) = static :: getOriginalExceptionFileAndLineNumber ( $ e ) ; $ message = "{$name}: {$e->getMessage()} ({$e->getcode()})\n{$file} {$line}\n{$stackTrace}" ; return $ message ; }
Returns the formatted message of a passed in exception.

@param  \Exception $e
@return string
Returns the formatted message of a passed in exception .