about summary refs log tree commit diff stats
path: root/docs
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2016-06-04 14:40:14 -0400
committerFedor Indutny <fedor@indutny.com>2016-06-04 14:40:14 -0400
commit5fb3b729bb9e96c17f9966d61ac8aeba3c1513c0 (patch)
tree64d1cf1efda9c8f24cdcc64bf818241881bb7a52 /docs
parent6bec46526bd10e8260519cfa04963b092ba933be (diff)
downloaduv_link_t-5fb3b729bb9e96c17f9966d61ac8aeba3c1513c0.tar.gz
doc: mention strerror implementation details
Diffstat (limited to 'docs')
-rw-r--r--docs/implementation-guide.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/implementation-guide.md b/docs/implementation-guide.md
index 9393bdc..441d470 100644
--- a/docs/implementation-guide.md
+++ b/docs/implementation-guide.md
@@ -54,4 +54,11 @@ When closing leaf link in a chain:
    by one
 3. `close_cb` will be invoked upon close of all links in a chain
 
+## uv_link_strerror()
+
+Implementation of `uv_link_methods_t.strerror` MUST check that the passed error
+was emitted by the `link` argument. If this is not the case -
+`uv_link_strerror(link->parent, err)` MUST be called (in other words, call
+MUST be propagated).
+
 [0]: http://docs.libuv.org/en/v1.x/stream.html