yamadapc/jsdoctest

Feature Request: Support for Thrown Errors

reggi opened this issue · 0 comments

reggi commented

I'd love some way to add that an @example should throw an error. Something like:

someFunctionThatThrows()
// => Throws

or

someFunctionThatThrows()
// => Throws [Error]

or

someFunctionThatThrows()
// => Throws [Error: Some message]