description

# toString method

String toString ()
override

Returns a string representation of this object.

## Implementation

    String toString() {
      StringBuffer sb = new StringBuffer();
      sb.write(type);
      if (message.isNotEmpty) {
        sb.write(": $message");
        if (osError != null) {
          sb.write(" ($osError)");
        }
      } else if (osError != null) {
        sb.write(": $osError");
      }
      return sb.toString();
    }