-
Notifications
You must be signed in to change notification settings - Fork 29
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
Change codes of recently-added errors and allow type and code to be shared. #96
Conversation
BREAKING CHANGE: Changed the codes of recently-added errors; so, they will work with 1.x implementations.
4df05ab
to
713e153
Compare
const initPlugin = function(player, options) { | ||
let monitor; | ||
const listeners = []; | ||
|
||
const updateErrors = function(updates) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do the default errors get passed in here during init?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, but they should. Good catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably want to add a test to make sure that happens.
402239f
to
358d43f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
BREAKING CHANGE: Changed the codes of recently-added errors; so, they will work with 1.x implementations.