toString method

String toString ()
override

Returns a string representation of this object.

Implementation

String toString() {
  var msg = (message == null) ? 'OS error code: $errorCode' : message;
  var args = arguments.join(' ');
  return "ProcessException: $msg\n  Command: $executable $args";
}