lib/mongo/error/missing_connection.rb in mongo-2.18.3 vs lib/mongo/error/missing_connection.rb in mongo-2.19.0

- old
+ new

@@ -1,7 +1,7 @@ # frozen_string_literal: true -# encoding: utf-8 +# rubocop:todo all # Copyright (C) 2022 MongoDB Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,10 +16,12 @@ # limitations under the License. module Mongo class Error - # Exception raised when trying to check out connection that does not exist. + # Exception raised when trying to check out a connection with a specific + # global id, and the connection for that global id no longer exists in the + # pool. class MissingConnection < Error end end end