Open Sidebar
Close Sidebar
cryomongo
master-dev
Mongo
Bulk
DeleteMany
DeleteOne
Error
InsertOne
ReplaceOne
UpdateMany
UpdateOne
WriteModel
WriteResult
ChangeStream
Cursor
Document
UpdateDescription
Client
NetworkError
Collation
Collection
CollectionKey
Commands
AbortTransaction
Aggregate
AlwaysRetryable
BuildInfo
Result
CloneCollectionAsCapped
CollMod
CollStats
Command
CommitTransaction
Common
BaseResult
Cursor
DeleteResult
FindAndModifyResult
InsertResult
QueryResult
UpdateResult
Upserted
WriteConcernError
WriteError
Compact
ConfigureFailPoint
ConnectionStatus
ConnPoolStats
ConvertToCapped
Count
Create
CreateIndexes
Result
CurrentOp
DataSize
DbHash
DbStats
Delete
Distinct
Result
Drop
DropConnections
DropDatabase
DropIndexes
EndSessions
Explain
Find
FindAndModify
Fsync
FsyncUnlock
Result
GetCmdLineOpts
GetLog
GetMore
Result
Cursor
GetParameter
Result
HostInfo
Insert
IsMaster
Result
KillAllSessions
KillAllSessionsByPattern
KillCursors
Result
KillOp
KillSessions
ListCollections
ListCommands
ListDatabases
Result
Database
ListIndexes
LogRotate
MayUseSecondary
Ping
Profile
ReadCommand
RefreshSessions
ReIndex
RenameCollection
Retryable
ServerStatus
SetFeatureCompatibilityVersion
SetParameter
ShardConnPoolStats
Shutdown
StartSession
Result
ID
Top
Update
Validate
WriteCommand
Cursor
Wrapper
Database
Error
Client
Command
CommandWrite
Connection
Network
Server
ServerSelection
Transaction
WriteConcern
GridFS
Bucket
File
Monitoring
Commands
CommandFailedEvent
CommandStartedEvent
CommandSucceededEvent
Event
Observable
Type
Options
ReadConcern
ReadPreference
Session
ClientSession
ClusterTime
Signature
Options
SessionId
TransactionOptions
TransactionState
TransactionStateEvent
SRV
WriteConcern
class
Mongo::
Error::
Server
Mongo::Error::Server
Mongo::Error
Exception
Reference
Object
Direct Known Subclasses
Mongo::Error::Command
Mongo::Error::CommandWrite
Defined in:
cryomongo/error.cr
Instance methods inherited from class
Mongo::Error
add_error_label(label : String) : Nil
add_error_label
,
add_retryable_label(wire_version : Int32)
add_retryable_label
,
add_transient_transaction_label
add_transient_transaction_label
,
add_unknown_transaction_label
add_unknown_transaction_label
,
error_labels : Set(String)
error_labels
,
has_error_label?(label : String) : Bool
has_error_label?
,
retryable_read?
retryable_read?
,
retryable_write?
retryable_write?
,
transient_transaction?
transient_transaction?
,
unknown_transaction?
unknown_transaction?