THROW_OF_INVALID_TYPE constant

CompileTimeErrorCode const THROW_OF_INVALID_TYPE

Parameters: 0: the type that can't be thrown

Implementation

static const CompileTimeErrorCode THROW_OF_INVALID_TYPE = CompileTimeErrorCode(
    'THROW_OF_INVALID_TYPE',
    "The type '{0}' of the thrown expression must be assignable to 'Object'.")