2 ms·
What about errors and exceptions? Will they propagate to the calling side?
by moe 16y ago
What about errors and exceptions?
Will they propagate to the calling side?
- ericz 16y agoIn the typical node pattern, errors should be sent as part of the callback for asynchronous IO. For exceptions, a "throw" statement will not be automatically propagated to the other client, best practice is to catch the errors and call a client side function in that case. Exception handling will be improved in the future.