Class: PactBroker::Client::Retry::RescuableError

Inherits:
Object
  • Object
show all
Defined in:
lib/pact_broker/client/retry.rb

Constant Summary collapse

UNRESCUEABLE =
[PactBroker::Client::Error]

Class Method Summary collapse

Class Method Details

.===(e) ⇒ Object



9
10
11
12
13
14
# File 'lib/pact_broker/client/retry.rb', line 9

def self.===(e)
  case e
  when *UNRESCUEABLE then false
  else true
  end
end