Exception: Equipoise::Error

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

Direct Known Subclasses

ApiError, ConfigurationError, ConnectionError

Instance Method Summary collapse

Instance Method Details

#retryable?Boolean

The retry taxonomy lives in the gem so no producer has to memorize which failures are transient. Base default: not retryable. A producer's job becomes: rescue Equipoise::Error => e; raise if e.retryable?.

Returns:

  • (Boolean)


31
32
33
# File 'lib/equipoise/errors.rb', line 31

def retryable?
  false
end