ErrorState

State holder for an error display, such as ErrorDisplay.

The error is only captured from the player's error event. Create this state before an error can happen, for example at the top of your UI instead of inside the error overlay that is only shown once there's an error, because a state created after the error will not see it.

Create an instance with rememberErrorState.

Properties

Link copied to clipboard
var error: THEOplayerException?

The fatal error the player has encountered, if any.