Sha256: bb8f2bc296bd91146fa92470e17d80b7c86df50e0ec7a0e66c971f4a9ab8aa6a

Contents?: true

Size: 646 Bytes

Versions: 11

Compression:

Stored size: 646 Bytes

Contents

module Resque
  # Raised whenever we need a queue but none is provided.
  class NoQueueError < RuntimeError; end

  # Raised when trying to create a job without a class
  class NoClassError < RuntimeError; end

  # Raised when a worker was killed while processing a job.
  class DirtyExit < RuntimeError
    attr_reader :process_status

    def initialize(message=nil, process_status=nil)
      @process_status = process_status
      super message
    end
  end
  class PruneDeadWorkerDirtyExit < DirtyExit; end

  # Raised when child process is TERM'd so job can rescue this to do shutdown work.
  class TermException < SignalException; end
end

Version data entries

11 entries across 11 versions & 5 rubygems

Version Path
resque_admin-1.0.4 lib/resque_admin/errors.rb
resque_admin-1.0.3 lib/resque/errors.rb
resque_admin-1.0.2 lib/resque/errors.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/resque-1.27.4/lib/resque/errors.rb
resque-1.27.4 lib/resque/errors.rb
resque-1.27.3 lib/resque/errors.rb
resque-1.27.2 lib/resque/errors.rb
resque-1.27.1 lib/resque/errors.rb
resque-1.27.0 lib/resque/errors.rb
resqueue-1.0.0 lib/resque/errors.rb
resque-master-0.0.3 lib/resque/errors.rb