paymentsdb: add new internal error

This commit is contained in:
ziggie committed 2026-02-25 08:02:07 +01:00
1 parent 18e7768837
commit eeca189b87
1 file changed
+4
+4
View File
@@ -136,4 +136,8 @@ var (
// NOTE: Only used for the kv backend.
ErrNoSequenceNrIndex = errors.New("payment sequence number index " +
"does not exist")
// errMaxPaymentsReached is used internally to signal that the maximum
// number of payments has been reached during a paginated query.
errMaxPaymentsReached = errors.New("max payments reached")
)