MongoDBException

Wrapper class for all inner mongo collection manipulation errors.

It does not indicate problem with vibe.d driver itself. Most frequently this one is thrown when MongoConnection is in checked mode and getLastError() has something interesting.

Constructors

this
this(MongoErrorDescription description, string file, size_t line, Throwable next)
Undocumented in source.

Members

Aliases

message
deprecated alias message = msg
Undocumented in source.

Properties

code
int code [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
connectionId
int connectionId [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
n
int n [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ok
double ok [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

description
MongoErrorDescription description;
Undocumented in source.

Meta