aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/errors.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/errors.rst b/docs/src/errors.rst
index cec25f51..2ebaf1e4 100644
--- a/docs/src/errors.rst
+++ b/docs/src/errors.rst
@@ -8,6 +8,9 @@ In libuv errors are negative numbered constants. As a rule of thumb, whenever
there is a status parameter, or an API functions returns an integer, a negative
number will imply an error.
+When a function which takes a callback returns an error, the callback will never
+be called.
+
.. note::
Implementation detail: on Unix error codes are the negated `errno` (or `-errno`), while on
Windows they are defined by libuv to arbitrary negative numbers.