REDIRECT_TO_NON_CLASS constant

CompileTimeErrorCode const REDIRECT_TO_NON_CLASS

Parameters: 0: the name of the non-type referenced in the redirect

Implementation

static const CompileTimeErrorCode REDIRECT_TO_NON_CLASS =
    CompileTimeErrorCode(
        'REDIRECT_TO_NON_CLASS',
        "The name '{0}' isn't a type and can't be used in a redirected "
            "constructor.",
        correction: "Try redirecting to a different constructor.",
        hasPublishedDocs: true)