File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/viur/shop/payment_providers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def charge(
7878 order_skel : SkeletonInstance_T [OrderSkel ],
7979 payment : t .Any | None = None ,
8080 ) -> tuple [SkeletonInstance_T [OrderSkel ], t .Any ]:
81- raise errors .NotImplemented ()
81+ raise errors .NotImplemented (f"charge method not implemented in { type ( self ) } " )
8282
8383 def check_payment_state (
8484 self ,
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def charge(
148148 order_skel : SkeletonInstance_T [OrderSkel ],
149149 payment : t .Any | None = None ,
150150 ) -> tuple [SkeletonInstance_T [OrderSkel ], t .Any ]:
151- raise errors .NotImplemented ()
151+ raise errors .NotImplemented (f"charge method not implemented in { type ( self ) } " )
152152
153153 def check_payment_state (
154154 self ,
You can’t perform that action at this time.
0 commit comments