NmFailureGroup class

Failure class of a run.

Annotations

Constructors

NmFailureGroup({required String classification, required String title, required int count, String? code, NmTone severity = NmTone.danger, bool retryable = false, double? share, String? meaning, String? detector, List<String> sampleIds = const []})
Creates an NmFailureGroup.
const

Properties

classification → String
Machine class (e.g. captcha) and human title of the group.
final
code → String?
Error code (e.g. HTTP_403), if any.
final
count → int
Failures in the group.
final
detector → String?
What the failure means and which detector flagged it.
final
hashCode → int
The hash code for this object.
no setterinherited
meaning → String?
What the failure means and which detector flagged it.
final
retryable → bool
Whether a retry can help.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleIds → List<String>
Ids of sample failed items.
final
severity → NmTone
Tone of the group (danger by default).
final
share → double?
0..1 share of all failures.
final
title → String
Machine class (e.g. captcha) and human title of the group.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited