class Mongo::Error::WriteConcern

Overview

Is raised when the server replies to a write with a WriteConcernError.

Defined in:

cryomongo/error.cr

Constructors

Instance Method Summary

Instance methods inherited from class Mongo::Error::Command

code : Int32 code, not_master? not_master?, recovering? recovering?, resumable? resumable?, retryable? retryable?, shutdown? shutdown?, state_change? state_change?, to_s(io : IO) to_s

Constructor methods inherited from class Mongo::Error::Command

new(code, message) new

Constructor Detail

def self.new(error : BSON) #

[View source]

Instance Method Detail

def details : BSON | Nil #

[View source]