Skip to content

Discussion: better error messages#1429

Closed
elliotf wants to merge 1 commit intonock:betafrom
elliotf:feat/helpful-errors
Closed

Discussion: better error messages#1429
elliotf wants to merge 1 commit intonock:betafrom
elliotf:feat/helpful-errors

Conversation

@elliotf
Copy link
Copy Markdown

@elliotf elliotf commented Feb 2, 2019

As suggested in #1413, here is a document to help drive out discussion and (hopefully) consensus on how to improve nock's error messages so that they are more helpful.

@paulmelnikow
Copy link
Copy Markdown
Member

Overall this sounds good to me!

Given #1413 (comment) how about we press forward by expanding on the interface? Perhaps adding an example mock + erroneous test, showing today's message, and showing the suggested message?

@stale
Copy link
Copy Markdown

stale bot commented Aug 5, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We try to do our best, but nock is maintained by volunteers and there is only so much we can do at a time. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants