Skip to main content
Class Structured runtime signal emitted by CrossmintEmbeddedCheckout.

Constructors

CrossmintCheckoutDiagnostic

Creates a diagnostic record.

Properties

code

Short machine-readable identifier (e.g. "navigation.blocked", "message.parse_failed").

message

Human-readable description of the diagnostic.

severity

Severity classification — one of CrossmintCheckoutDiagnosticSeverity: info (interesting but not a problem, e.g. user closed the hosted modal), warning (likely recoverable — surface in dev / staging), error (hosted flow hit a problem that may affect checkout). Pass to logging infrastructure accordingly.

event

Hosted-page event associated with this diagnostic, if any (e.g. the original postMessage event name that failed to parse).

uri

URL associated with this diagnostic — set for navigation-related diagnostics (blocked navigations, resource errors).

details

Extra structured context for the diagnostic. Keys are stable — safe to forward to logging.