Lsrur\Inspector\Collectors\ExceptionCollector::b_renderException PHP Method

b_renderException() public method

public b_renderException ( $exception )
    public function b_renderException($exception)
    {
        // forgive exceptions from formrequest validations
        if (get_class($exception) == 'Illuminate\\Http\\Exception\\HttpResponseException' && ends_with($exception->getFile(), 'FormRequest.php')) {
            return;
        }
        if (get_class($exception) == 'Illuminate\\Foundation\\Validation\\ValidationException' && ends_with($exception->getFile(), 'ValidatesRequests.php')) {
            return;
        }
        $this->handleException($exception, false);
    }