UseLegacyErrorParser — Documentation by YARD 0.9.37 (original) (raw)

Module: Mongo::Operation::Result::UseLegacyErrorParserPrivate

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 Summarycollapse

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, , legacy: true) end | | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |