IRunErrorClassifier
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllConverts a raw run error into a class and a clustering fingerprint.
public interface IRunErrorClassifierRemarks
Section titled “Remarks”Called only on the error path; it never triggers on a successful run and must not allocate on the hot path.
AgentPrism’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.
Methods
Section titled “Methods”Classify(RunError)
Section titled “ Classify(RunError)”Classifies the error. Returns RunErrorClass.Unknown if no rule matches — it does not guess.
RunErrorClassification Classify(RunError runError)Parameters
Section titled “Parameters”runError RunError
The raw error to classify.
Returns
Section titled “Returns”The class and clustering fingerprint.