Exception: TrackRelay::DeliveryDiscardableError
- Inherits:
-
StandardError
- Object
- StandardError
- TrackRelay::DeliveryDiscardableError
- Defined in:
- lib/track_relay/errors.rb
Overview
Raised by a subscriber’s ‘#deliver` to signal a permanent failure that the DeliveryJob should drop via ActiveJob’s ‘discard_on` (HTTP 4xx, malformed credentials, etc.). Defensive: GA4 returns 2xx in practice even on bad payloads, but we map 4xx defensively in case Google ever changes that contract. Same `StandardError` rationale as DeliveryRetriableError.