Checks that catch parameter names conform to a format specified by the format property.

Configuration

{
    "type": "CatchParameterName",
    "props": {
        "format": "^(e|t|ex|[a-z][a-z][a-zA-Z]+)$",
        "severity": "WARNING"
    }
}

The following format regex only allows e, t or ex as catch parameter names.

^(e|t|ex)$