Skip to content

Support code expectation in t.throws() #1708

Closed
@novemberborn

Description

@novemberborn

#1704 introduces an expectation object for t.throws(). It'd be neat if we could add an expectation for the code property in Node.js.

We could consider supporting errno as well. I suspect code may be the more future proof property though, in which case I wonder if errno support is really needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions