Sha256: 8c2ab2f0c598fa4a9e52ccbf21f4e3d44108392cc4908a4b76515bd281724c8d
Contents?: true
Size: 788 Bytes
Versions: 6
Compression:
Stored size: 788 Bytes
Contents
# Exception class for BackgrounDRb connection errors module BackgrounDRb # raised when connection to a particular server failed class BdrbConnError < RuntimeError attr_accessor :message def initialize(message) @message = message end end # raised when connection to all of the available servers failed class NoServerAvailable < RuntimeError attr_accessor :message def initialize(message) @message = message end end # raised, when said task was submitted without a job key, whereas # nature of the task requires a job key class NoJobKey < RuntimeError; end # raised if worker throws some error class RemoteWorkerError < RuntimeError attr_accessor :message def initialize message @message = message end end end
Version data entries
6 entries across 6 versions & 1 rubygems