Sha256: 67a2d017755cd1862ba43b18287562f10df3594af7ac0055b1357436b42bf245

Contents?: true

Size: 225 Bytes

Versions: 2

Compression:

Stored size: 225 Bytes

Contents

module SmartQue
  class QueueNotFoundError < StandardError
    def message
      "Queue doesn't exist"
    end
  end

  class ConnectionError < StandardError
    def message
      "Broken connection failed"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smart-que-0.2.6 lib/smart_que/errors.rb
smart-que-0.2.5 lib/smart_que/errors.rb