From 7b3553bbf168acc556a8c6c3ca25a2f06d96c953 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Wed, 14 Aug 2024 10:52:59 -0700 Subject: [PATCH] Add new error --- Meshtastic/Enums/RoutingError.swift | 6 +++++- protobufs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Meshtastic/Enums/RoutingError.swift b/Meshtastic/Enums/RoutingError.swift index 0773265b..50de17a5 100644 --- a/Meshtastic/Enums/RoutingError.swift +++ b/Meshtastic/Enums/RoutingError.swift @@ -21,6 +21,7 @@ enum RoutingError: Int, CaseIterable, Identifiable { case dutyCycleLimit = 9 case badRequest = 32 case notAuthorized = 33 + case pkiFailed = 34 var id: Int { self.rawValue } var display: String { @@ -50,6 +51,8 @@ enum RoutingError: Int, CaseIterable, Identifiable { return "routing.badRequest".localized case .notAuthorized: return "routing.notauthorized".localized + case .pkiFailed: + return "routing.pkiFailed".localized } } func protoEnumValue() -> Routing.Error { @@ -80,7 +83,8 @@ enum RoutingError: Int, CaseIterable, Identifiable { return Routing.Error.badRequest case .notAuthorized: return Routing.Error.notAuthorized - + case .pkiFailed: + return Routing.Error.pkiFailed } } } diff --git a/protobufs b/protobufs index 97fa3451..3e753697 160000 --- a/protobufs +++ b/protobufs @@ -1 +1 @@ -Subproject commit 97fa34517f80332a11046a73f26d55100fbee9e2 +Subproject commit 3e753697aa1140d2c998cb63739729e733002874