about summary refs log tree commit diff stats
path: root/docs/implementation-guide.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/implementation-guide.md')
-rw-r--r--docs/implementation-guide.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/implementation-guide.md b/docs/implementation-guide.md
index 9393bdc..65fb8fe 100644
--- a/docs/implementation-guide.md
+++ b/docs/implementation-guide.md
@@ -3,6 +3,10 @@
 `uv_link_t` behaves very similar to [`uv_stream_t`][0]. All `uv_link_methods_t`
 MUST conform to this semantics.
 
+## Error Codes
+
+All error codes MUST be negative and be less than `UV_ERRNO_MAX`.
+
 ## uv_link_init()
 
 Links start in non-reading mode, `alloc_cb`/`read_cb` MUST NOT be called until