Method: Mongo::Error::Parser#write_concern_error_document
- Defined in:
- lib/mongo/error/parser.rb
#write_concern_error_document ⇒ Hash | nil
Returns the write concern error document as it was reported by the server, if any.
148 149 150 |
# File 'lib/mongo/error/parser.rb', line 148 def write_concern_error_document document['writeConcernError'] end |