errorMsg property

String errorMsg
inherited

Simply display the exception.

Implementation

String get errorMsg {
  String message;
  if (_recException == null) {
    message = '';
  } else {
    message = _recException.toString();
    final colon = message.lastIndexOf(': ');
    if (colon > -1 && colon + 2 <= message.length) {
      message = message.substring(colon + 2);
    }
  }
  return message;
}