navigation

NullArgWithSingleArgument (FL0018)

Cause

nullArg is passed more than one argument e.g. nullArg "Divisor cannot be zero." 5

Rationale

nullArg being passed more than one argument (the error message) is probably a mistake.

How To Fix

Remove the extra arguments.

Rule Settings

{
    "nullArgWithSingleArgument": {
        "enabled": true
    }
}