feat: resync generic D-Bus errors (#393)

This commit is contained in:
Stefan Agner 2025-02-24 21:58:42 +01:00 committed by GitHub
parent 5f26f5d58c
commit e4f37ee10b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,8 +139,14 @@ class ErrorType(str, Enum):
UNIX_PROCESS_ID_UNKNOWN = "org.freedesktop.DBus.Error.UnixProcessIdUnknown"
INVALID_SIGNATURE = "org.freedesktop.DBus.Error.InvalidSignature"
INCONSISTENT_MESSAGE = "org.freedesktop.DBus.Error.InconsistentMessage"
TIMED_OUT = "org.freedesktop.DBus.Error.TimedOut"
MATCH_RULE_NOT_FOUND = "org.freedesktop.DBus.Error.MatchRuleNotFound"
MATCH_RULE_INVALID = "org.freedesktop.DBus.Error.MatchRuleInvalid"
INTERACTIVE_AUTHORIZATION_REQUIRED = (
"org.freedesktop.DBus.Error.InteractiveAuthorizationRequired"
)
INVALID_FILE_CONTENT = "org.freedesktop.DBus.Error.InvalidFileContent"
SELINUX_SECURITY_CONTEXT_UNKNOWN = (
"org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown"
)
OBJECT_PATH_IN_USE = "org.freedesktop.DBus.Error.ObjectPathInUse"