qrexec.exc – Exceptions¶
- exception qrexec.exc.AccessDenied(msg: str, notify: bool = True)[source]¶
Bases:
ExceptionRaised when qrexec policy denied access.
notifycontrols 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:
AccessDeniedPolicy was not found for this service
- exception qrexec.exc.PolicySyntaxError(filepath: PurePath | None, lineno: int | None, msg: str)[source]¶
Bases:
AccessDeniedSyntax error in qrexec policy, abort parsing
- exception qrexec.exc.QubesMgmtException(exc_type: str)[source]¶
Bases:
ExceptionException returned by qubesd
- exception qrexec.exc.RequestError(msg: str, notify: bool = True)[source]¶
Bases:
AccessDeniedRaised if Request instantiation fails validation.