class Mongo::Error

Overview

The common error ancestor class.

Direct Known Subclasses

Defined in:

cryomongo/error.cr

Instance Method Summary

Instance Method Detail

def add_error_label(label : String) : Nil #

def add_retryable_label(wire_version : Int32) #

def add_transient_transaction_label #

def add_unknown_transaction_label #

def error_labels : Set(String) #

def has_error_label?(label : String) : Bool #

def retryable_read? #

def retryable_write? #

def transient_transaction? #

def unknown_transaction? #