Dart Documentationmongo_dartMongoDartError

MongoDartError class

class MongoDartError extends Error {
 final String message;
 MongoDartError(this.message);
 String toString() => "MongoDart Error: $message";
}

Extends

Error > MongoDartError

Constructors

new MongoDartError(String message) #

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.

docs inherited from Object
MongoDartError(this.message);

Properties

final String message #

final String message

final StackTrace stackTrace #

inherited from Error
external StackTrace get stackTrace;

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => "MongoDart Error: $message";