payme-pkg 3.0.12b0__tar.gz → 3.0.13b0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of payme-pkg might be problematic. Click here for more details.
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/PKG-INFO +1 -1
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/exceptions/general.py +7 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme_pkg.egg-info/PKG-INFO +1 -1
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/setup.py +1 -1
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/LICENSE.txt +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/README.md +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/__init__.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/admin.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/apps.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/classes/__init__.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/classes/cards.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/classes/client.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/classes/http.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/classes/initializer.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/classes/receipts.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/const.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/exceptions/__init__.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/exceptions/webhook.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/migrations/__init__.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/models.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/types/__init__.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/types/request/__init__.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/types/response/__init__.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/types/response/cards.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/types/response/receipts.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/types/response/webhook.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/urls.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/util.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme/views.py +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme_pkg.egg-info/SOURCES.txt +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme_pkg.egg-info/dependency_links.txt +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme_pkg.egg-info/requires.txt +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/payme_pkg.egg-info/top_level.txt +0 -0
- {payme_pkg-3.0.12b0 → payme_pkg-3.0.13b0}/setup.cfg +0 -0
|
@@ -272,6 +272,12 @@ class ReceiptsNotFoundError(BaseException):
|
|
|
272
272
|
super().__init__(message, data)
|
|
273
273
|
|
|
274
274
|
|
|
275
|
+
class UnknownPartnerError(BaseException):
|
|
276
|
+
"""The given partner ID is unknown."""
|
|
277
|
+
def __init__(self, message="Unknown partner or ID and Key not active", data=None):
|
|
278
|
+
super().__init__(message, data)
|
|
279
|
+
|
|
280
|
+
|
|
275
281
|
class UnknownError(BaseException):
|
|
276
282
|
"""An unknown error occurred."""
|
|
277
283
|
def __init__(self, message="An unknown error occurred.", data=None):
|
|
@@ -297,5 +303,6 @@ errors_map = {
|
|
|
297
303
|
-31103: OtpInvalidCodeError,
|
|
298
304
|
-31602: ReceiptsNotFoundError,
|
|
299
305
|
-32500: InvalidTokenFormat,
|
|
306
|
+
-31601: UnknownPartnerError,
|
|
300
307
|
"UNKNOWN_ERROR": UnknownError
|
|
301
308
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|