Error Message

Displays a clear message to indicate errors or issues. Helps users understand problems and take corrective action quickly.

String Message

Error Object

Props

NameDefaultType
message
-string | Error

The error message to display. Can be a string or an Error object