Display error message.
Function signature

st.error(body)

Parameters

body (str)

The error text to display.

Was this page helpful?

editSuggest edits
forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.