REDIRECT_TO_MISSING_CONSTRUCTOR constant

CompileTimeErrorCode const REDIRECT_TO_MISSING_CONSTRUCTOR

7.6.2 Factories: It is a compile-time error if k is prefixed with the const modifier but k' is not a constant constructor.

Implementation

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