type TraceParentError

bend-trace-context@0.2.0.0 · trace_context.bend:2620

import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext
import Base

2620# Why extraction refused a message's traceparent:
2621#   RepeatedTraceParent{}       the message has more than one traceparent field,
2622#                               or a value that joins several with a comma
2623#   TraceParentTooLarge{}       the value exceeds the traceparent input budget
2624#   InvalidTraceParent{error}   the value breaks the rules of its version;
2625#                               `error` is the first problem, as the codec
2626#                               reports it, with offsets counted from the
2627#                               first character after optional whitespace
2628# The received value itself is never included.
2629type TraceParentError is Data:
2630  RepeatedTraceParent{}
2631  TraceParentTooLarge{}
2632  InvalidTraceParent{error: Error}

Uses (1)

Used by (11)