From e4f37ee10bd2af64716de0bd389db90b47373b76 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 24 Feb 2025 21:58:42 +0100 Subject: [PATCH] feat: resync generic D-Bus errors (#393) --- src/dbus_fast/constants.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dbus_fast/constants.py b/src/dbus_fast/constants.py index 1beb9f6..bc23461 100644 --- a/src/dbus_fast/constants.py +++ b/src/dbus_fast/constants.py @@ -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"