REDIRECT_GENERATIVE_TO_MISSING_CONSTRUCTOR constant

CompileTimeErrorCode const REDIRECT_GENERATIVE_TO_MISSING_CONSTRUCTOR

7.6.1 Generative constructors: A generative constructor may be redirecting, in which case its only action is to invoke another generative constructor.

Implementation

static const CompileTimeErrorCode REDIRECT_GENERATIVE_TO_MISSING_CONSTRUCTOR =
    CompileTimeErrorCode('REDIRECT_GENERATIVE_TO_MISSING_CONSTRUCTOR',
        "The constructor '{0}' couldn't be found in '{1}'.",
        correction: "Try redirecting to a different constructor, or "
            "defining the constructor named '{0}'.")