lib/mongo/error/bulk_write_error.rb in mongo-2.5.3 vs lib/mongo/error/bulk_write_error.rb in mongo-2.6.0
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (C) 2014-2017 MongoDB, Inc.
+# Copyright (C) 2014-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
#
@@ -25,10 +25,10 @@
attr_reader :result
# Instantiate the new exception.
#
# @example Instantiate the exception.
- # Mongo::Error::BulkWriteFailure.new(response)
+ # Mongo::Error::BulkWriteError.new(response)
#
# @param [ Hash ] result A processed response from the server
# reporting results of the operation.
#
# @since 2.0.0