Merge "Add new error code for invalid request" into main am: 73e38f8b3d am: f479b0d4ae am: 81c7ec3728

Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/gsma_services/+/2797716

Change-Id: Ib764b98f3238a218902c2ca6855e9b6eb8a46226
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java b/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
index 24dd7db..efaddad 100644
--- a/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
+++ b/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
@@ -90,6 +90,11 @@
     public static final int ERROR_INVALID_HTTP_RESPONSE = 8;
 
     /**
+     * Authentication request failed because the request parameters were malformed.
+     */
+    public static final int ERROR_INVALID_REQUEST = 9;
+
+    /**
      * Authentication errors that can be returned by the TS.43 authentication library or
      * service entitlement library.
      */
@@ -104,6 +109,7 @@
             ERROR_MAXIMUM_EAP_AKA_ATTEMPTS,
             ERROR_HTTP_RESPONSE_FAILED,
             ERROR_INVALID_HTTP_RESPONSE,
+            ERROR_INVALID_REQUEST,
     })
     public @interface AuthenticationError {}