src/Components/Component.php
protected function shouldntHandle(Exception $e) {
        $dontHandle = array_merge($this->dontHandle, $this->absolutelyDontHandle);

        foreach ($dontHandle as $type) {
            if ($e instanceof $type) {
                return true;
            }
        }

        $sent_at = Cache::get($this->getCacheKey($e));
        if (empty($sent_at) || $sent_at->addSeconds(config('lern.ratelimit', 1))->lte(Carbon::now())) {
            return false; // The cache is empty or enough time has passed, so lets continue
        } else {
            return true;
        }
    }
protected function shouldntHandle(Exception $e) {
        $dontHandle = array_merge($this->dontHandle, $this->absolutelyDontHandle);

        foreach ($dontHandle as $type) {
            if ($e instanceof $type) {
                return true;
            }
        }

        $sent_at = Cache::get($this->getCacheKey($e));
        if (empty($sent_at) || $sent_at->addSeconds(config('lern.ratelimit', 1))->lte(Carbon::now())) {
            return false; // The cache is empty or enough time has passed, so lets continue
        } else {
            return true;
        }
    }
protected function shouldntHandle ( Exception $ e ) { $ dontHandle = array_merge ( $ this -> dontHandle , $ this -> absolutelyDontHandle ) ; foreach ( $ dontHandle as $ type ) { if ( $ e instanceof $ type ) { return true ; } } $ sent_at = Cache :: get ( $ this -> getCacheKey ( $ e ) ) ; if ( empty ( $ sent_at ) || $ sent_at -> addSeconds ( config ( 'lern.ratelimit' , 1 ) ) -> lte ( Carbon :: now ( ) ) ) { return false ; // The cache is empty or enough time has passed, so lets continue } else { return true ; } }
Determine if the exception is in the "do not handle" list.

@param  \Exception  $e
@return bool
Determine if the exception is in the do not handle list .