# st.exception

Source: https://docs.streamlit.io/develop/api-reference/status/st.exception

* Function signature:

   ```python
   st.exception(exception, width="stretch")
   ```

* Parameters:

   | name | type | default | description |
   |---|---|---|---|
   | exception | Exception |  | The exception to display. |
   | width | "stretch" or int |  | The width of the exception element. This can be one of the following:  "stretch" (default): The width of the element matches the width of the parent container. An integer specifying the width in pixels: The element has a fixed width. If the specified width is greater than the width of the parent container, the width of the element matches the width of the parent container. |
