diff --git a/okhttp/src/main/java/okhttp3/internal/http2/ErrorCode.java b/okhttp/src/main/java/okhttp3/internal/http2/ErrorCode.java index 26defebe063e..6a704684fc83 100644 --- a/okhttp/src/main/java/okhttp3/internal/http2/ErrorCode.java +++ b/okhttp/src/main/java/okhttp3/internal/http2/ErrorCode.java @@ -28,7 +28,17 @@ public enum ErrorCode { REFUSED_STREAM(7), - CANCEL(8); + CANCEL(8), + + COMPRESSION_ERROR(9), + + CONNECT_ERROR(0xa), + + ENHANCE_YOUR_CALM(0xb), + + INADEQUATE_SECURITY(0xc), + + HTTP_1_1_REQUIRED(0xd); public final int httpCode;