squeaknode/squeaknode/core/exception.py
Jonathan Zernik 530ae7b86c
Simplify payment processor (#855)
* Got simplified payment processor working

* Remove log lines

* Trying to get payment processor working without passing stopped to subscripion

* Revert "Trying to get payment processor working without passing stopped to subscripion"

This reverts commit e691a37d24.

* Use settle index int as input to squeak core subscribe function

* Remove settled invoice subscription client

* Use object with cancel method in squeak core subscription response

* Got itest passing with new received payment iterator

* Remove unused arguments from squeak core get received payments method.

* Improve params for payment processor task

* Handle lnd invoice subscription cancel without raising exception

* Add logging to payment processor

* Add custom exception for unable to subscribe invoices

* Add type hint for get sent offer fn
2021-02-16 09:28:49 -08:00

7 lines
199 B
Python

class SqueakCoreError(Exception):
"""Base class for other squeak core exceptions"""
class InvoiceSubscriptionError(Exception):
"""Error that is raised when unable to subscribe invoices"""