Error Label
Low-cardinality label for errors, useful for metrics and logging.
ErrorLabel wraps a Cow<'static, str> to hold either a static string literal
or a heap-allocated String. It is intended for use as a metric tag value or
structured log field and should always be chosen from a small, bounded set of values.
Quick Start
use ErrorLabel;
// From a static string
let label: ErrorLabel = "timeout".into;
assert_eq!;
// Dotted chain from parts
let label = from_parts;
assert_eq!;