Module qm_mongodb::error

source ·
Expand description

Contains the Error and Result types that mongodb uses.

Structs§

Enums§

Constants§

  • Retryable write error label. This label will be added to an error when the error is write-retryable.
  • Transient transaction error label. This label will be added to a network error or server selection error that occurs during a transaction.
  • Unknown transaction commit result error label. This label will be added to a server selection error, network error, write-retryable error, MaxTimeMSExpired error, or write concern failed/timeout during a commitTransaction.

Type Aliases§

  • The result type for all methods that can return an error in the mongodb crate.