type Verdict

bend-kit-hairpin@0.14.0.0 · hairpin.bend:160

import bend-kit-hairpin@0.14.0.0/hairpin.bend as Hairpin
import Base

160# A judge's verdict on one attempt. Ok: a success. Caller: the request is at fault (a 4xx), so it stops
161# and the breaker does not count it. Target: the target failed in a way another try would repeat, so it
162# stops and the breaker counts it. Again: another try may help; after is the Retry-After value, "" for none.
163type Verdict is Data:
164  VerdictOk{}
165  VerdictCaller{}
166  VerdictTarget{}
167  VerdictAgain{after: String}

Uses (1)

Used by (20)