const classafMongo::MongoErr
sys::Obj sys::Err afMongo::MongoErr
Models an error as returned from a MongoDB Server.
- code
Int? code()Returns the
code, if it exists.- codeName
Str? codeName()Returns the
codeName, if it exists.- errDoc
The error response returned by MongoDB.
- errLabels
Str[] errLabels()Returns the
errorLabelslist.- errMsg
Str? errMsg()Returns the
errmsg, if it exists.- make
new make(Str msg, Str:Obj? errDoc, Err? cause := null)Creates a
MongoCmdErr.