Skip to content

Commit 1f6cf6b

Browse files
authored
Merge pull request #18 from SlicingDice/feature/insert-new-error
Insert new error code #39 to the client
2 parents 3e88aaa + 067bcf5 commit 1f6cf6b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

pyslicer/core/helper_handler_exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
31: exceptions.AccountPaymentRequiredException,
3434
32: exceptions.AccountBannedException,
3535
33: exceptions.AccountDisabledException,
36+
39: exceptions.FieldInvalidRangeException,
3637
# Field errors (40 - 59)
3738
40: exceptions.FieldMissingParamException,
3839
41: exceptions.FieldTypeException,

pyslicer/exceptions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,3 +764,9 @@ class InvalidSlicingDiceKeysException(SlicingDiceException):
764764
def __init__(self, *args, **kwargs):
765765
super(InvalidSlicingDiceKeysException, self).__init__(
766766
self, *args, **kwargs)
767+
768+
769+
class FieldInvalidRangeException(SlicingDiceException):
770+
def __init__(self, *args, **kwargs):
771+
super(FieldInvalidRangeException, self).__init__(
772+
self, *args, **kwargs)

0 commit comments

Comments
 (0)