From 12a5498a6e749e24f155a3dcda22ec0855eeb193 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 4 Feb 2020 20:59:17 +0100 Subject: use hint, not error --- core/api-exchange.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/api-exchange.rst') diff --git a/core/api-exchange.rst b/core/api-exchange.rst index 4a32896..ea1dd2d 100644 --- a/core/api-exchange.rst +++ b/core/api-exchange.rst @@ -535,7 +535,7 @@ exchange. interface WithdrawError { // Constant "Insufficient funds" - error: string; + hint: string; // Amount left in the reserve balance: Amount; @@ -665,7 +665,7 @@ denomination. interface DepositDoubleSpendError { // The string constant "insufficient funds" - error: string; + hint: string; // Transaction history for the coin that is // being double-spended @@ -848,7 +848,7 @@ the API during normal operation. interface MeltForbiddenResponse { // Always "insufficient funds" - error: string; + hint: string; // public key of a melted coin that had insufficient funds coin_pub: EddsaPublicKey; @@ -938,7 +938,7 @@ the API during normal operation. interface RevealConflictResponse { // Constant "commitment violation" - error: string; + hint: string; // Detailed error code code: Integer; -- cgit v1.2.3