failedSignal

fun failedSignal(category: SignalCategory, key: String, name: String, error: Throwable, rationale: String = "Device API fingerprint signal."): FingerprintSignal

Builds an error FingerprintSignal (DisplayHint.Error) representing a failed probe.

The exception class and message are stored in FingerprintSignal.rawValue for diagnostics.

Return

An error signal counted as failed by ltechnologies.onionphone.androwatch.model.failedCount.

Parameters

category

Owning category.

key

Probe key.

name

Display name.

error

The throwable that caused the failure.

rationale

Why this signal is fingerprintable.