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

Proposal: error type #61

Closed
Marsup opened this issue Apr 5, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@Marsup
Copy link
Member

@Marsup Marsup commented Apr 5, 2016

Hi,

I'd like to simplify some of my checks on async errors, so an API like that would help :
asyncTask((err, value) => expect(err).to.be.an.error('with that message'))

Thoughts ?

@Marsup Marsup added the request label Apr 5, 2016
@cjihrig

This comment has been minimized.

Copy link
Contributor

@cjihrig cjihrig commented Apr 5, 2016

I'd take a PR for it. I think it should match throws() as much as possible.

Marsup added a commit to Marsup/code that referenced this issue Apr 5, 2016
@cjihrig cjihrig added this to the 2.2.0 milestone Apr 6, 2016
@cjihrig cjihrig closed this in 35c0ac7 Apr 6, 2016
@cjihrig cjihrig modified the milestones: 2.2.0, 2.1.1 Apr 6, 2016
@Marsup Marsup added the feature label Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.