const classafMongo::MongoCmdErr
sys::Obj sys::Err afMongo::MongoErr afMongo::MongoCmdErr
Wraps errors returned from a MongoDB Cmd.
- code
Int? code()Returns the first
codein the list of Mongo errors, if it exists.- errmsg
Str? errmsg()Returns the first
errmsgin the list of Mongo errors, if it exists.- errs
const Str:Obj?[] errs := [Str:Obj?][,]The list of errors returned by MongoDB.
- make
new make(Str msg, Str:Obj?[] errs, Err? cause := null)Creates a
MongoCmdErr.