protected function shouldntReport(Exception $e) { foreach ($this->dontReport as $type) { if ($e instanceof $type) { return true; } } return false; }