class_docstr: Test Query params commands APIs.
docstr: Test invalid st.set_query_params raises exceptions.
docstr_tok: ["Test","invalid","st.set_query_params","raises","exceptions","."]
code: def test_set_query_params_exceptions(self):
      """Test invalid st.set_query_params raises exceptions."""
      with self.assertRaises(StreamlitAPIException):
          st.experimental_set_query_params(embed="True")
      with self.assertRaises(StreamlitAPIException):
          st.experimental_set_query_params(
              embed_options="show_colored_line"
          )
  
file_path: streamlit/lib/tests/streamlit/commands/experimental_query_params_test.py
imports: import streamlit
  from streamlit.errors import StreamlitAPIException
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 2 for calling the QueryParamsAPITest obj's underlying member method code with example usage: obj.test_set_query_params_exceptions() without return types