Closed
Description
- Version: 11.x
- Platform: Any
- Subsystem: Net
As best as I can tell, network failure often surfaces to the Node user with an error ENOTFOUND. In attempting to determine under what conditions this error is thrown, we found that the ENOTFOUND error is not documented.
@addaleax pointed out that there's a FIXME comment from @bnoordhuis suggesting this error is temporary, but I bet ENOTFOUND is pretty baked and changing it would cause significant friction.
So I'd like to propose the following:
- Remove the FIXME comment
- Document ENOTFOUND under "Common System Errors". It's not an actual system error but it appears like one so users might expect to find it there anyway.
- @Fishrock123 also suggested putting the actual error code on the error object somewhere, which would be very handy.
Metadata
Metadata
Assignees
Labels
No labels