src/Viserio/Component/Exception/ErrorHandler.php
public function addShouldntReport(Throwable $exception): HandlerContract
    {
        $this->dontReport[\get_class($exception)] = $exception;

        return $this;
    }
public function addShouldntReport(Throwable $exception): HandlerContract
    {
        $this->dontReport[\get_class($exception)] = $exception;

        return $this;
    }
Determine if the exception shouldn't be reported.

@param \Throwable $exception

@return $this