Crosswake. Shell. DiagnosticExport. Envelope
(crosswake v0.1.2)
View Source
Typed, versioned diagnostic envelope with layer attribution (D-06).
All 7 fields are @enforce_keys. The optional native_diagnostic field
holds a %NativeDiagnostic{} for :native-layer envelopes; nil otherwise.
Summary
Types
@type kind() :: :crash | :termination | :hang | :cpu | :bridge_fault | :web_fault
@type layer() :: :native | :web | :bridge
@type platform() :: :ios | :android | :web
@type t() :: %Crosswake.Shell.DiagnosticExport.Envelope{ correlation_id: String.t(), kind: kind(), layer: layer(), native_diagnostic: Crosswake.Shell.DiagnosticExport.NativeDiagnostic.t() | nil, native_runtime_version: String.t(), observed_at: String.t(), platform: platform(), schema_version: String.t() }