summaryrefslogtreecommitdiff
path: root/core/api-common.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-04 20:59:17 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-04 20:59:24 +0100
commit12a5498a6e749e24f155a3dcda22ec0855eeb193 (patch)
tree810115ac9119b7a9f09b618cbab8d3206e870043 /core/api-common.rst
parent53e8d40909a7b6d4f3e0b889fbf77408b5d61c2e (diff)
downloaddocs-12a5498a6e749e24f155a3dcda22ec0855eeb193.tar.gz
docs-12a5498a6e749e24f155a3dcda22ec0855eeb193.tar.bz2
docs-12a5498a6e749e24f155a3dcda22ec0855eeb193.zip
use hint, not error
Diffstat (limited to 'core/api-common.rst')
-rw-r--r--core/api-common.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 2ea5459..689e806 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -73,9 +73,7 @@ handle the error as if an internal error (500) had been returned.
// Human-readable description of the error, i.e. "missing parameter", "commitment violation", ...
// The other arguments are specific to the error value reported here.
- error: string;
-
- // Hint about error nature
+ // Should give a human-readable hint about the error's nature. Optional.
hint?: string;
// Name of the parameter that was bogus (if applicable)