Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Mongo::Error
Inherits
Exception
<
Reference
<
Object
The common error ancestor class.
Instance methods
add_error_label
(label :
String
) :
Nil
Source
add_retryable_label
(wire_version :
Int32
)
Source
add_transient_transaction_label
Source
add_unknown_transaction_label
Source
error_labels
Source
has_error_label?
(label :
String
) :
Bool
Source
retryable_read?
Source
retryable_write?
Source
transient_transaction?
Source
unknown_transaction?
Source
Nested types
Mongo::Error::Client
Mongo::Error::Command
Mongo::Error::CommandWrite
Mongo::Error::Connection
Mongo::Error::Network
Mongo::Error::Server
Mongo::Error::ServerSelection
Mongo::Error::Transaction
Mongo::Error::WriteConcern