Skip to main content
Flutter SDK request failures throw EraFlutterException.

Fields

toString() returns EraFlutterException(<code>): <message>.

Local error codes

The API can return more specific validation codes. Invalid publishable keys and visitor IDs throw ArgumentError before a request is made.

Retry behavior

The Flutter SDK does not retry requests automatically. Retry only after a user action and only when retryable is true. If an operation fails with visitor_reset, restart the flow for the new visitor. If it fails with client_closed, create a new EraFlutter instance.