qrexec.exc – Exceptions

exception qrexec.exc.AccessDenied(msg: str, notify: bool = True)[source]

Bases: Exception

Raised when qrexec policy denied access.

notify controls whether to notify the user about denying access. This defaults to true, except when specified otherwise (e.g. because we applied a policy that says notify=no).

exception qrexec.exc.PolicyNotFound(service_name: str)[source]

Bases: AccessDenied

Policy was not found for this service

exception qrexec.exc.PolicySyntaxError(filepath: Optional[PurePath], lineno: Optional[int], msg: str)[source]

Bases: AccessDenied

Syntax error in qrexec policy, abort parsing

exception qrexec.exc.QubesMgmtException(exc_type: str)[source]

Bases: Exception

Exception returned by qubesd