You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.
If any error is encountered during the request (be that with DNS resolution, TCP level errors, or actual HTTP parse errors) an 'error' event is emitted on the returned request object.
And the example code for http.request and http.get both show the usage of the error event. But as http.request() returns an instance of the http.ClientRequest class, the 'error' event should be listed with the other events as well.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is an error event with http.request and http.get. But the API Docs do not mention it.
More detail about error event.
The text was updated successfully, but these errors were encountered: