Override hook for adopters with vertical-specific policy needs.
Receives the error + context; returns a RetryDecision or null to fall
through to the default policy.
The error argument is the full AdcpStructuredError, so an override
registered under a coarse outer code (e.g. INVALID_REQUEST) can still
key on error.buyer_reason?.code for a more specific action — useful when
the seller emits a producer-internal top-level code but populates
buyer_reason with a standard buyer-actionable classification like
BUDGET_TOO_LOW or CREATIVE_REJECTED. Note that the overrides map is
keyed by outer error.code only — an override that inspects
error.buyer_reason.code MUST be registered under every outer code that
might carry that buyer-actionable reason (or under the wildcard patterns
an adopter's platform emits).
Override hook for adopters with vertical-specific policy needs. Receives the error + context; returns a
RetryDecisionornullto fall through to the default policy.The
errorargument is the fullAdcpStructuredError, so an override registered under a coarse outercode(e.g.INVALID_REQUEST) can still key onerror.buyer_reason?.codefor a more specific action — useful when the seller emits a producer-internal top-level code but populatesbuyer_reasonwith a standard buyer-actionable classification likeBUDGET_TOO_LOWorCREATIVE_REJECTED. Note that the overrides map is keyed by outererror.codeonly — an override that inspectserror.buyer_reason.codeMUST be registered under every outer code that might carry that buyer-actionable reason (or under the wildcard patterns an adopter's platform emits).