class_docstr: Base class for Streamlit API exceptions.
  
  An API exception should be thrown when user code interacts with the
  Streamlit API incorrectly. (That is, when we throw an exception as a
  result of a user's malformed `st.foo` call, it should be a
  StreamlitAPIException or subclass.)
  
  When displaying these exceptions on the frontend, we strip Streamlit
  entries from the stack trace so that the user doesn't see a bunch of
  noise related to Streamlit internals.
class_docstr_tok: ["Base","class","for","Streamlit","API","exceptions",".","An","API","exception","should","be","thrown","when","user","code","interacts","with","the","Streamlit","API","incorrectly",".","(","That","is",",","when","we","throw","an","exception","as","a","result","of","a","user","'s","malformed","`","st.foo","`","call",",","it","should","be","a","StreamlitAPIException","or","subclass",".",")","When","displaying","these","exceptions","on","the","frontend",",","we","strip","Streamlit","entries","from","the","stack","trace","so","that","the","user","does","n't","see","a","bunch","of","noise","related","to","Streamlit","internals","."]
code: def __repr__(self) -> str:
      return util.repr_(self)
  
imports: from streamlit import util
label_desc: Use image node_id 1 for calling the StreamlitAPIException obj's underlying member method code with example usage: obj.__repr__() and returns: util