We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15d1e4e + 0bbf444 commit 4df0f6aCopy full SHA for 4df0f6a
socketlabs/injectionapi/sendresult.py
@@ -120,6 +120,9 @@ class SendResult(Enum):
120
""" SDK Validation Error : Message contains invalid metadata """
121
MessageValidationInvalidMetadata = 37
122
123
+ """ Metadata and tags exceed 12.5KB """
124
+ MetadataOrTagsAreTooLarge = 38
125
+
126
def __str__(self):
127
"""
128
String representation of the SendResult Enum
@@ -172,6 +175,7 @@ def __str__(self):
172
175
"Invalid Custom Headers were found in the message",
173
176
37: "SDK Validation Error : "
174
177
"Message contains invalid metadata",
178
+ 38: "Metadata and tags exceed 12.5KB"
179
}
180
return switcher.get(self.value, "An error has occurred that was unforeseen")
181
0 commit comments