** As thrown by Mongo.constclass MongoErr : Err {new make(Str msg := "", Err? cause := null) : super(msg, cause){}}@NoDocconstclass MongoOpErr : MongoErr {new make(Str msg := "", Err? cause := null) : super(msg, cause){}}** Wraps errors returned from a MongoDB Cmd.constclass MongoCmdErr : MongoErr {** The list of errors returned by MongoDB.const[Str:Obj?][] errs := [Str:Obj?][,]** Creates a 'MongoCmdErr'.new make(Str msg, [Str:Obj?][] errs, Err? cause := null) : super(msg, cause){this.errs = errs}** Returns the first 'code' in the list of Mongo errors, if it exists. Int? code(){ errs.first["code"]}** Returns the first 'errmsg' in the list of Mongo errors, if it exists. Str? errmsg(){ errs.first["errmsg"]}}@NoDocconstclass MongoCursorErr : MongoErr {new make(Str msg := "", Err? cause := null) : super(msg, cause){}}