src/Exceptions/Handler.php
protected function prepareException(Exception $e)
    {
        $e = parent::prepareException($e);

        if($e instanceof PermissionDoesNotExist || $e instanceof AuthorizationException) {
            $e = new AuthenticationException($e->getMessage());
        }

        return $e;
    }
protected function prepareException(Exception $e)
    {
        $e = parent::prepareException($e);

        if($e instanceof PermissionDoesNotExist || $e instanceof AuthorizationException) {
            $e = new AuthenticationException($e->getMessage());
        }

        return $e;
    }
Prepare exception for rendering.

@param  \Exception  $e
@return \Exception