Skip to content
Tracon

IRunErrorClassifier

Namespace Tracon · Assembly Tracon.Abstractions.dll

Converts a raw run error into a class and a clustering fingerprint.

public interface IRunErrorClassifier

Called only on the error path; it never triggers on a successful run and must not allocate on the hot path.

Tracon’s taxonomy is its own opinion; a consumer may want their own class or clustering rule. Registered with TryAddSingleton, so the consumer’s registration wins.

Tenant behavior — TENANT-INDEPENDENT. IRunErrorClassifier.Classify is a pure function of RunError, which carries no tenant field; the same taxonomy applies identically to every tenant’s errors.

Classifies the error. Returns RunErrorClass.Unknown if no rule matches — it does not guess.

RunErrorClassification Classify(RunError runError)

runError RunError

The raw error to classify.

RunErrorClassification

The class and clustering fingerprint.