CastError constructor Null safety

CastError()