From 5fb3b729bb9e96c17f9966d61ac8aeba3c1513c0 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Sat, 4 Jun 2016 14:40:14 -0400 Subject: doc: mention strerror implementation details --- docs/implementation-guide.md | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit 1.4.1-2-gfad0