Skip to content
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

Merged
merged 5 commits into from
May 15, 2017

Conversation

misteroneill
Copy link
Member

BREAKING CHANGE: Changed the codes of recently-added errors; so, they will work with 1.x implementations.

BREAKING CHANGE: Changed the codes of recently-added errors; so, they will work with 1.x implementations.
@misteroneill misteroneill changed the title feat: Change codes of recently-added errors Change codes of recently-added errors and allow type and code to be shared. May 15, 2017
@misteroneill misteroneill force-pushed the rename-new-custom-errors branch from 4df05ab to 713e153 Compare May 15, 2017 18:12
const initPlugin = function(player, options) {
let monitor;
const listeners = [];

const updateErrors = function(updates) {
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member

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.

@misteroneill misteroneill force-pushed the rename-new-custom-errors branch from 402239f to 358d43f Compare May 15, 2017 19:11
Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@misteroneill misteroneill merged commit f39c0f6 into master May 15, 2017
@misteroneill misteroneill deleted the rename-new-custom-errors branch May 15, 2017 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants