src/Graze/Monolog/Handler/WhoopsHandler.php
protected function writeError(array $record)
    {
        $exception = new WhoopsErrorException(
            $record['message'],
            $record['level'],
            0,
            $record['context']['file'],
            $record['context']['line']
        );

        $this->writeException($exception);
    }
protected function writeError(array $record)
    {
        $exception = new WhoopsErrorException(
            $record['message'],
            $record['level'],
            0,
            $record['context']['file'],
            $record['context']['line']
        );

        $this->writeException($exception);
    }
protected function writeError ( array $ record ) { $ exception = new WhoopsErrorException ( $ record [ 'message' ] , $ record [ 'level' ] , 0 , $ record [ 'context' ] [ 'file' ] , $ record [ 'context' ] [ 'line' ] ) ; $ this -> writeException ( $ exception ) ; }
Whoops only deals with Exceptions. Create a WhoopsErrorException based on the error details and handle that

@param array $record
Whoops only deals with Exceptions . Create a WhoopsErrorException based on the error details and handle that