toString method

  1. @override
String toString()
override

CloudWatchException toString

Implementation

@override
String toString() {
  final StringBuffer buffer = StringBuffer('CloudWatchException - ');
  if (statusCode != null) {
    buffer.write('statusCode: $statusCode, ');
  }
  if (type != null) {
    buffer.write('type: $type, ');
  }
  buffer.write('message: $message');
  return buffer.toString();
}