Feature Request: Add @dit-throw to ignore error
khuezy opened this issue · comments
khuezy commented
Use case: Some workflows are expected to throw, eg a temporal workflow that aborts on a thrown error.
//@dit-ignore
(or equivalent) should tell DIT to ignore the throw statement.
Why: I don't want DIT to give me the squigglies when I expect a function to throw.
Michael Angelo Rivera commented
@khuezy do we prefer // @dit-ignore
or // @does-it-throw-ignore
, or both?
khuezy commented
@michaelangeloio or maybe @throw-ignore
? I'm fine with whatever is best.
khuezy commented
@michaelangeloio Can the @
flag be configurable? I kinda like // @it-throws
as an answer to does-it-throw
.
Michael Angelo Rivera commented
#118 closes this