lib/mongo/error/connection_perished.rb in mongo-2.18.3 vs lib/mongo/error/connection_perished.rb in mongo-2.19.0
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-# encoding: utf-8
+# rubocop:todo all
# Copyright (C) 2020 MongoDB Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -19,8 +19,10 @@
class Error
# Exception raised when trying to perform operations on a connection that
# experienced a network error.
class ConnectionPerished < Error
+ include WriteRetryable
+ include ChangeStreamResumable
end
end
end