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

Separate error creation logic into its own file #311

Merged
merged 3 commits into from
Jun 23, 2019

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Jun 23, 2019

This separates the whole error creation logic (makeError()) into a separate file.
Same for the tests related to that source file.
There are also some minor refactoring tweaks on the main error creation function.

@ehmicky ehmicky changed the title Separate error handling into its own file Separate error creation logic into its own file Jun 23, 2019
@sindresorhus sindresorhus merged commit 4dd258d into master Jun 23, 2019
@sindresorhus sindresorhus deleted the chore/refactor-errors branch June 23, 2019 13:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants