Simply error surfacing

This commit is contained in:
Theodor S. Midtlien
2026-09-25 11:14:34 +02:00
parent ec3a20e979
commit 1939f44bcd
22 changed files with 332 additions and 47 deletions
+2
View File
@@ -26,6 +26,8 @@ func denialCode(reason string) (string, bool) {
return "session_held", true
case ipcauth.ErrorReasonNotProfileOwner:
return "not_profile_owner", true
case ipcauth.ErrorReasonProfileUnowned:
return "profile_unowned", true
default:
return "permission_denied", false
}