(Status status)
| 427 | } |
| 428 | |
| 429 | static String formatThrowableMessage(Status status) { |
| 430 | if (status.description == null) { |
| 431 | return status.code.toString(); |
| 432 | } else { |
| 433 | return status.code + ": " + status.description; |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | private final Code code; |
| 438 | private final String description; |
no test coverage detected