(res: HttpResponse, error: string)
| 423 | } |
| 424 | |
| 425 | protected entityTooLargeResponse(res: HttpResponse, error: string) { |
| 426 | return this.sendJson(res, { error, code: 413 }, '413 Payload Too Large'); |
| 427 | } |
| 428 | |
| 429 | protected tooManyRequestsResponse(res: HttpResponse) { |
| 430 | return this.sendJson(res, { error: 'Too many requests.', code: 429 }, '429 Too Many Requests'); |
no test coverage detected