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 31, 2018. It is now read-only.
Of course, every single *Sync method in the API throws synchronously, although in theory they could take callbacks and execute them with err synchronously. This includes calls to require for example.
The text was updated successfully, but these errors were encountered:
I'd like to collect some examples of operational errors in Node that are synchronously thrown at the moment.
Please post examples you're aware of
Examples:
Out of memory
Parsing Invalid JSON
Attempting to bind to a closed UDP socket
From https://nodejs.org/api/dgram.html
Listening to an invalid port
https://github.com/nodejs/node/blob/master/lib/net.js#L1340
Of course, every single
*Sync
method in the API throws synchronously, although in theory they could take callbacks and execute them witherr
synchronously. This includes calls torequire
for example.The text was updated successfully, but these errors were encountered: