| 84 | } |
| 85 | |
| 86 | inline bool IsHttpCode(int code) noexcept { |
| 87 | return HttpCodeStrEx(code).data() != HttpCodeStrEx(0).data(); |
| 88 | } |
| 89 | |
| 90 | inline bool IsUserError(int code) noexcept { |
| 91 | return code >= 400 && code < 500; |
nothing calls this directly
no test coverage detected