Display an error message. Used by UIs when an exception is caught, and an error message needs to be displayed. If in development mode, the actual error is displayed, otherwise displays a generic message in production mode.
prop
type
required
default
description
error
Error
no
-
The error to display
retry
Function
no
-
Callback function, called when retry button is pressed.
testID
string
no
-
Used to locate this view in end-to-end tests.