Error message: explain which types are allowed