# disallow optional catch binding (es/no-optional-catch-binding)

This rule reports ES2019 optional catch binding as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-optional-catch-binding: error */ try { f() } catch { g() }
Now loading...

# 📚 References