Exception: TrackRelay::DeliveryRetriableError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/track_relay/errors.rb

Overview

Raised by a subscriber's #deliver to signal a transient failure that the DeliveryJob should retry via ActiveJob's retry_on. Examples: HTTP 5xx response, Net::OpenTimeout, Errno::ECONNREFUSED, SocketError against the GA4 Measurement Protocol endpoint.

Inherits from StandardError (not Error) so the Subscribers::Base#safe_deliver carve-out can re-raise it without dragging in unrelated track_relay error semantics — and so consumers who rescue TrackRelay::Error to log validation failures do not accidentally swallow a retriable network blip.