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 #

[View source]
def add_retryable_label(wire_version : Int32) #

[View source]
def add_transient_transaction_label #

[View source]
def add_unknown_transaction_label #

[View source]
def error_labels : Set(String) #

[View source]
def has_error_label?(label : String) : Bool #

[View source]
def retryable_read? #

[View source]
def retryable_write? #

[View source]
def transient_transaction? #

[View source]
def unknown_transaction? #

[View source]