We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac56fe4 commit c34cee9Copy full SHA for c34cee9
services/payments/src/simcore_service_payments/core/errors.py
@@ -1,7 +1,7 @@
1
-from pydantic.errors import PydanticErrorMixin
+from common_library.errors_classes import OsparcErrorMixin
2
3
4
-class _BaseAppError(PydanticErrorMixin, ValueError):
+class _BaseAppError(OsparcErrorMixin, ValueError):
5
@classmethod
6
def get_full_class_name(cls) -> str:
7
# Can be used as unique code identifier
services/payments/src/simcore_service_payments/services/stripe.py
@@ -34,7 +34,7 @@ def _raise_as_stripe_error():
34
yield
35
36
except HTTPStatusError as err:
37
- raise StripeRuntimeError from err
+ raise StripeRuntimeError() from err
38
39
40
def _handle_status_errors(coro: Callable):
0 commit comments