-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
EventEmitter throws when emitting 'error' #3103
Comments
Ah, now I found it in the docs. Closing :( |
@Munter Where is this in the docs? I am looking here: And it says it should return a boolean but nothing about throwing an error. Has this documentation regressed? |
@justinmchase it is in this section: https://nodejs.org/api/events.html#events_class_events_eventemitter |
@targos Thanks! |
14 tasks
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
This code
throws:
If I have at least one
emitter.on('error', ...)
listener it doesn't throwThe text was updated successfully, but these errors were encountered: