Sha256: bbbb76407567b0c951a2f8a0ed9ee7208e20378c6de53e779eb53370e80b1c92
Contents?: true
Size: 345 Bytes
Versions: 4
Compression:
Stored size: 345 Bytes
Contents
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
4 entries across 4 versions & 1 rubygems