p-mazhnik

add toString method to MobileScannerException

1 class MobileScannerException implements Exception { 1 class MobileScannerException implements Exception {
2 String message; 2 String message;
3 MobileScannerException(this.message); 3 MobileScannerException(this.message);
  4 +
  5 + @override
  6 + String toString() {
  7 + return "MobileScannerException: $message";
  8 + }
4 } 9 }