Crosswake.Shell.DiagnosticExport.NativeDiagnostic (crosswake v0.1.2)

View Source

Typed diagnostic codes for native-layer (iOS/Android) diagnostic events.

Models iOS MetricKit and Android ApplicationExitInfo diagnostics via closed typed codes. No raw_payload, no open map field (D-09/D-13).

Summary

Types

exit_reason()

@type exit_reason() ::
  :crash
  | :anr
  | :low_memory
  | :user_requested
  | :hang
  | :cpu_resource_limit
  | :abnormal_exit
  | :other

source()

@type source() :: :metrickit | :app_exit_info

t()

@type t() :: %Crosswake.Shell.DiagnosticExport.NativeDiagnostic{
  exit_reason: exit_reason(),
  source: source()
}