Skip to content

InitFailureDiagnosticProps

Development-only visual surface for a failed SDK initialization.

Plan 233 TASK-2. The provider renders this beside children when init threw and the build is not production. It exists because the app renders correctly without RevTurbine by design — a failed init changes nothing a developer can see, so the only prior signal was one console.error line competing with everything else in the log. That cost a customer 36 hours.

Deliberately self-contained: inline styles, no theme tokens, no portal. The theme itself resolves during init, so a diagnostic that depended on it would be least reliable exactly when it is needed. It must never throw — a crashing error reporter is worse than none.

status: RevTurbineInitStatus

The failed status. Rendering is the caller’s decision; this only draws.