CopyPastor

Detecting plagiarism made easy.

Score: 0.9008122086524963; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2019-06-07
by Turing1729

Original Post

Original - Posted on 2019-01-28
by Ashish



            
Present in both answers; Present only in the new answer; Present only in the old answer;

`"ECONNRESET"` usually happens when another end of the TCP connections closes its end due to any protocol-related errors and since no one is listening to the 'error' event it gets thrown, to deal with it you should put a listener which can handle such erroneous condition.
[Go through this link you can understand][1]

[1]: https://stackoverflow.com/questions/7310521/node-js-best-practice-exception-handling
"ECONNRESET" usually happens when another end of the TCP connections closes its end due to any protocol-related errors and since no one is listening to the 'error' event it gets thrown, to deal with it you should put a listener which can handle such erroneous condition.
You can refer to such exception handling here [node-js-best-practice-exception-handling][1]

[1]: https://stackoverflow.com/questions/7310521/node-js-best-practice-exception-handling

        
Present in both answers; Present only in the new answer; Present only in the old answer;