API Reference 0.7.1rikulo_modelModelError

ModelError class

A model exception.

class ModelError extends Error {
 final String message;

 ModelError(this.message);
 String toString() => "ModelError($message)";
}

Extends

Error > ModelError

Constructors

new ModelError(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
ModelError(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() => "ModelError($message)";