Alias MongoErrorDescription

D POD representation of Mongo error object.

For successful queries "code" is negative. Can be used also to check how many documents where updated upon a successful query via "n" field.

Declaration

module vibe.db.mongo.connection;

// ...
alias MongoErrorDescription = immutable(vibe.db.mongo.connection._MongoErrorDescription);
// ...

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.