Stylistic note: I'd move this out of the class and make it an enum struct HttpClientError. I would much prefer writting, HttpClientError::UNKNOWN then HttpClientCallbacks::UNKNOWN.