Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Class
Structured runtime signal emitted by CrossmintEmbeddedCheckout.
class CrossmintCheckoutDiagnostic
Constructors
CrossmintCheckoutDiagnostic
const CrossmintCheckoutDiagnostic({
required this.code,
required this.message,
required this.severity,
this.event,
this.uri,
this.details = const <String, Object?>{},
})
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
final CrossmintCheckoutDiagnosticSeverity 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
final Map<String, Object?> details
Extra structured context for the diagnostic. Keys are stable — safe to forward to logging.