From 2ab6537cd09afbe641b81d7911c4ecaf613a1969 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Fri, 7 Feb 2025 13:53:37 +0000 Subject: [PATCH] feat: add error codes for request verification --- error_codes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/error_codes.md b/error_codes.md index 0a30dd3..2b3e981 100644 --- a/error_codes.md +++ b/error_codes.md @@ -8,6 +8,10 @@ | 11002 | Transaction is not balanced (inputs != outputs) | [NUT-02][02], [NUT-03][03], [NUT-05][05] | | 11005 | Unit in request is not supported | [NUT-04][04], [NUT-05][05] | | 11006 | Amount outside of limit range | [NUT-04][04], [NUT-05][05] | +| 11007 | Duplicate inputs provided | [NUT-03][03], [NUT-04][04], [NUT-05][05] | +| 11008 | Duplicate outputs provided | [NUT-03][03], [NUT-04][04], [NUT-05][05] | +| 11009 | Inputs/Outputs of multiple units | [NUT-03][03], [NUT-04][04], [NUT-05][05] | +| 11010 | Inputs and outputs not of same unit | [NUT-03][03], [NUT-04][04], [NUT-05][05] | | 12001 | Keyset is not known | [NUT-02][02], [NUT-04][04] | | 12002 | Keyset is inactive, cannot sign messages | [NUT-02][02], [NUT-03][03], [NUT-04][04] | | 20001 | Quote request is not paid | [NUT-04][04] |