Module: Mongo::Operation::Result::UseLegacyErrorParser Private

Defined in:
build/ruby-driver-v2.19/lib/mongo/operation/shared/result/use_legacy_error_parser.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

This module creates the Parser instance in legacy mode.

Since:

  • 2.0.0

Instance Method Summary collapse

Instance Method Details

#parserObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 2.0.0



26
27
28
# File 'build/ruby-driver-v2.19/lib/mongo/operation/shared/result/use_legacy_error_parser.rb', line 26

def parser
  @parser ||= Error::Parser.new(first_document, replies, legacy: true)
end