Closed khuezy closed 8 months ago
@khuezy do we prefer // @dit-ignore
or // @does-it-throw-ignore
, or both?
@michaelangeloio or maybe @throw-ignore
? I'm fine with whatever is best.
@michaelangeloio Can the @
flag be configurable? I kinda like // @it-throws
as an answer to does-it-throw
.
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.