File size: 327 Bytes
8ba64a4
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
VENDOR_ERROR_INVALID_JSON = "Vendor Error: Invalid JSON data"
VENDOR_THROW_ERROR = "Vendor Error: {error_message}"


class VendorError(Exception):
    def __init__(self, message: str):
        super().__init__(message)


class BadRequestError(Exception):
    def __init__(self, message: str):
        super().__init__(message)