lib/mongo/error/socket_error.rb in mongo-2.5.3 vs lib/mongo/error/socket_error.rb in mongo-2.6.0

- old
+ new

@@ -1,6 +1,6 @@ -# Copyright (C) 2015-2017 MongoDB, Inc. +# Copyright (C) 2015-2018 MongoDB, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # @@ -16,8 +16,11 @@ class Error # Raised when a socket has an error. # # @since 2.0.0 - class SocketError < Error; end + class SocketError < Error + include WriteRetryable + include ChangeStreamResumable + end end end