summaryrefslogtreecommitdiff
path: root/api-common.rst
diff options
context:
space:
mode:
Diffstat (limited to 'api-common.rst')
-rw-r--r--api-common.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/api-common.rst b/api-common.rst
index 3bbc8722..d44e55ec 100644
--- a/api-common.rst
+++ b/api-common.rst
@@ -70,8 +70,8 @@ handle the error as if an internal error (500) had been returned.
interface ErrorDetail {
- // Numeric error code. See "taler_error_codes.h".
- error_code: number;
+ // Numeric error code unique to the condition. See "taler_error_codes.h".
+ code: number;
// Human-readable description of the error, i.e. "missing parameter", "commitment violation", ...
// The other arguments are specific to the error value reported here.