Dart Documentationdistributed_dartScannerException

ScannerException class

class ScannerException implements Exception {
 final String message;
 const ScannerException([this.message = ""]);
 String toString() => "ScannerException: $message";
}

Implements

Exception

Constructors

const ScannerException([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
const ScannerException([this.message = ""]);

Properties

final String message #

final String message

Methods

String toString() #

Returns a string representation of this object.

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