onException method
Implementation
@override
Future<void> onException(Object exception, StackTrace stackTrace) async {
printMessageLine(exception.toString(), getColour(MessageLevel.error));
}
@override
Future<void> onException(Object exception, StackTrace stackTrace) async {
printMessageLine(exception.toString(), getColour(MessageLevel.error));
}