Error code for message decoding failure
At the moment, https://github.com/ably/ably-java/blob/main/lib/src/main/java/io/ably/lib/types/MessageDecodeException.java uses code 91200 for decoding failure. This code is undocumented, and we should ideally be using 40013 instead.
diff --git a/lib/src/main/java/io/ably/lib/types/MessageDecodeException.java b/lib/src/main/java/io/ably/lib/types/MessageDecodeException.java
index 6d89d63a..3c404320 100644
--- a/lib/src/main/java/io/ably/lib/types/MessageDecodeException.java
+++ b/lib/src/main/java/io/ably/lib/types/MessageDecodeException.java
@@ -13,7 +13,7 @@ public class MessageDecodeException extends AblyException {
     public static MessageDecodeException fromDescription(String description) {
         return new MessageDecodeException(
             new Exception(description),
-            new ErrorInfo(description, 91200));
+            new ErrorInfo(description, 40013));
     }
 
     public static MessageDecodeException fromThrowableAndErrorInfo(Throwable e, ErrorInfo errorInfo) {
['lib/src/main/java/io/ably/lib/types/MessageDecodeException.java']