EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED constant

CompileTimeErrorCode const EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED

Parameters: 0: the maximum number of positional arguments 1: the actual number of positional arguments given

Implementation

static const CompileTimeErrorCode EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED =
    CompileTimeErrorCode('EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED',
        "Too many positional arguments: {0} expected, but {1} found.",
        correction: "Try removing the extra positional arguments, "
            "or specifying the name for named arguments.",
        hasPublishedDocs: true)