From 68b91903412faa26b7cdbbbc4a4a5f77cf2be3ed Mon Sep 17 00:00:00 2001 From: Marek Stransky <77441794+Hopsaheysa@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:44:09 +0100 Subject: [PATCH] Add new `WPNKnownRestApiError` cases (#59) --- .../WPNBaseNetworkingObjects.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/WultraPowerauthNetworking/WPNBaseNetworkingObjects.swift b/Sources/WultraPowerauthNetworking/WPNBaseNetworkingObjects.swift index 59f411e..536ce05 100644 --- a/Sources/WultraPowerauthNetworking/WPNBaseNetworkingObjects.swift +++ b/Sources/WultraPowerauthNetworking/WPNBaseNetworkingObjects.swift @@ -143,6 +143,12 @@ public enum WPNKnownRestApiError: String, Decodable { /// Activation is not valid (it is different from configured activation) case invalidActivation = "INVALID_ACTIVATION" + /// Invalid application identifier is attempted for operation manipulation + case invalidApplication = "INVALID_APPLICATION" + + /// Invalid operation identifier is attempted for operation manipulation + case invalidOperation = "INVALID_OPERATION" + /// Error during activfation case activationError = "ERR_ACTIVATION"