File: server_timeout_error.rb

package info (click to toggle)
ruby-mongo 2.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,020 kB
  • sloc: ruby: 110,810; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 248 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require 'mongo/error/timeout_error'

module Mongo
  class Error
    # Raised when the server returns error code 50.
    class ServerTimeoutError < TimeoutError
      include OperationFailure::Family
    end
  end
end