This error is set by curl when, e.g., a gzipped response body has an invalid gzip encoding.
Let's also rename the file to NetworkError.h while we're here. No need to have "Enum" in the name.