MongoError class

Represents an error returned by this driver.

Instances of this class and its sub-classes will be returned to represent failure of operations performed by this driver.

The following sub-classes are thrown to represent specific types of errors:

Other cases will be represented by an instance of this class.

Implementers

Constructors

MongoError({required String message})
MongoError.fromProto(MongoError pError)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited