-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in 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! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: