Skip to content

Commit 067bcf5

Browse files
committed
Insert new error #39 to the client
1 parent 16d8532 commit 067bcf5

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)