INVALID_CAST_FUNCTION constant

StrongModeCode const INVALID_CAST_FUNCTION

Implementation

static const StrongModeCode INVALID_CAST_FUNCTION = StrongModeCode(
    ErrorType.COMPILE_TIME_ERROR,
    'INVALID_CAST_FUNCTION',
    "The function '{0}' has type '{1}' that isn't of expected type "
        "'{2}'. This means its parameter or return type doesn't match what "
        "is expected.")