The containing class is available as OS\PermissionException in the www repository.
OS\PermissionException
public static function _getValidErrnos(): keyset<HH\Lib\OS\Errno>;
keyset<HH\Lib\OS\Errno>