t×tecexpressby TeKOcloud
DEv0.7.1
API & types / FLUTTER

TxFileException.

File operation error with an optional original cause.

TxFileException

ParameterTypeDefaultMeaning
messageStringrequiredNotification text.
causeObject?nullOriginal platform error, if any.
Member / type / returnMeaning
String toString()Returns a readable error description.
dart
import 'package:tecexpress/tecexpress.dart';

Future<void> example() async {
  const error = TxFileException('Cannot read file');
  print(error.message);
}