I think we should take benefit of the inbuilding v2 to rename the .catch() commands.
One of the reason is that is connote a promise method, error handling of other command.
Besides it's usage is wrongly flagged as error by the common used promised eslint config with rule promise/catch-or-return
I'm not sure on which name we should use, but something around miss like onCommandMiss, or onNonMatchingCommand, or maybe better and simplerfallback
I think we should take benefit of the inbuilding v2 to rename the
.catch()
commands. One of the reason is that is connote a promise method, error handling of other command. Besides it's usage is wrongly flagged as error by the common used promised eslint config with rulepromise/catch-or-return
I'm not sure on which name we should use, but something around
miss
likeonCommandMiss
, oronNonMatchingCommand
, or maybe better and simplerfallback