File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
socketlabs/injectionapi/core Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,29 @@ class ApiKeyParseResult(Enum):
99 """ No result could be produced. """
1010 NoneSet = 0
1111
12+ """ Invalid key length was found. """
13+ InvalidKeyLength = 1
14+
15+ """ Invalid key format was found. """
16+ InvalidKeyFormat = 2
17+
1218 """ The key was found to be blank or invalid. """
13- InvalidEmptyOrWhitespace = 1
19+ InvalidEmptyOrWhitespace = 3
1420
1521 """ The public portion of the key was unable to be parsed. """
16- InvalidUnableToExtractPublicPart = 2
22+ InvalidUnableToExtractPublicPart = 4
1723
1824 """ The secret portion of the key was unable to be parsed. """
19- InvalidUnableToExtractSecretPart = 3
25+ InvalidUnableToExtractSecretPart = 5
26+
27+ """ The public portion of the key is the incorrect length. """
28+ InvalidPublicPartLength = 6
29+
30+ """ The secret portion of the key is the incorrect length. """
31+ InvalidSecretPartLength = 7
2032
2133 """ Key was successfully parsed. """
22- Success = 4
34+ Success = 8
2335
2436 def __str__ (self ):
2537 """
You can’t perform that action at this time.
0 commit comments