ForbiddenException

class OC\ForbiddenException
Exception thrown whenever access to a resource has
been forbidden or whenever a user isn’t authenticated.
Source:lib/private/ForbiddenException.php#30
Parent:Exception