This PR improves the error messages displayed in `inductive` declarations when type parameters are invalid or absent. Closes #2195 by improving the relevant error message.