Module: Mongo::Operation::Result::UseLegacyErrorParser Private
- Defined in:
- 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.
Instance Method Summary collapse
- #parser ⇒ Object private
Instance Method Details
#parser ⇒ Object
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.
26 27 28 |
# File 'lib/mongo/operation/shared/result/use_legacy_error_parser.rb', line 26 def parser @parser ||= Error::Parser.new(first_document, replies, legacy: true) end |