MongoException
class
class MongoException implements Exception {
final Map mongoError;
final String msg;
const MongoException(this.mongoError, [this.msg]);
String toString() =>
msg == null ? 'MongoError: $mongoError' : '$msg MongoError: $mongoError';
}
Implements
Exception
Constructors
const MongoException(Map mongoError, [String msg]) #
Creates a new Object instance.
Object instances have no meaningful state, and are only useful
through their identity. An Object instance is equal to itself
only.
const MongoException(this.mongoError, [this.msg]);
Properties
final Map mongoError #
Methods
String toString() #
Returns a string representation of this object.
String toString() =>
msg == null ? 'MongoError: $mongoError' : '$msg MongoError: $mongoError';