Sha256: 041a47990608c3a34cc901e5eaafee817b1dbbc6897aeadcb7e0169c66e39807

Contents?: true

Size: 472 Bytes

Versions: 3

Compression:

Stored size: 472 Bytes

Contents

# frozen_string_literal: true

module WorkerGlass
  # Module enclosing all the errors that might be raised from this library
  module Errors
    # Base class for all the WorkerGlass internal errors
    class BaseError < StandardError; end
    # Raised when we use Timeout feature and timeout occurs
    class TimeoutError < BaseError; end
    # Raised when we use Timeout feature but we don't specify default timeout
    class TimeoutNotDefined < BaseError; end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
worker-glass-0.2.5 lib/worker_glass/errors.rb
worker-glass-0.2.4 lib/worker_glass/errors.rb
worker-glass-0.2.3 lib/worker_glass/errors.rb