mongo/utils

Types

pub type MongoError {
  MongoError(code: Int, msg: String, source: value.Value)
}

Constructors

  • MongoError(code: Int, msg: String, source: value.Value)

Constants

pub const default_error: MongoError = MongoError(
  code: -16,
  msg: "",
  source: value.Null,
)
Search Document