Sha256: 7f2477f5a284de4e9621e39c733b503d5aa884c413513750c617ccdc53263352
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true module ErrorClient class FireCallback < Apress::Api::Callbacks::BaseCallback class RepeatError < StandardError end add_retry_exceptions ArgumentError add_repeat_exceptions RepeatError delegate :event, to: :context def call raise RepeatError if event == 'repeat_error' raise ArgumentError end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apress-api-1.24.2 | spec/internal/app/integrations/error_client/fire_callback.rb |