| 58 | } |
| 59 | |
| 60 | ErrorResponse DisplayFormatError(ErrorType type, |
| 61 | bool allow_repetition, |
| 62 | const char* title, |
| 63 | const char* fmtcontents, |
| 64 | ...) { |
| 65 | static const int kBufSize = 2048; |
| 66 | char err_buf[kBufSize]; |
| 67 | va_list args; |
| 68 | va_start(args, fmtcontents); |
| 69 | VFormatString(err_buf, kBufSize, fmtcontents, args); |
| 70 | va_end(args); |
| 71 | return DisplayError(title, err_buf, type, allow_repetition); |
| 72 | } |
| 73 | |
| 74 | struct ErrorDisplay { |
| 75 | int id; |
nothing calls this directly
no test coverage detected