diff --git a/contrib/ruby/lib/trilogy/error.rb b/contrib/ruby/lib/trilogy/error.rb index a5b774bc..614d2d40 100644 --- a/contrib/ruby/lib/trilogy/error.rb +++ b/contrib/ruby/lib/trilogy/error.rb @@ -66,13 +66,7 @@ class QueryError < ClientError class CastError < ClientError end - class TimeoutError < Errno::ETIMEDOUT - include ConnectionError - - def initialize(error_message = nil, error_code = nil) - super - @error_code = error_code - end + class TimeoutError < BaseConnectionError end # DatabaseError was replaced by ProtocolError, but we'll keep it around as an