8000 Adds STATUS_CODE_UNPROCESSABLE_ENTITY 422 http error to HttpStatusCodes · mikekap/google-http-java-client@79e9732 · GitHub
[go: up one dir, main page]

Skip to content

Commit 79e9732

Browse files
kgregorczykneozwu
authored andcommitted
Adds STATUS_CODE_UNPROCESSABLE_ENTITY 422 http error to HttpStatusCodes
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=166307565
1 parent 98e6d48 commit 79e9732

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

google-http-client/src/main/java/com/google/api/client/http/HttpStatusCodes.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ public class HttpStatusCodes {
7878
/** Status code for a request for which one of the conditions it was made under has failed. */
7979
public static final int STATUS_CODE_PRECONDITION_FAILED = 412;
8080

81+
/**
82+
* Status code for a request for which the content-type and the request's syntax were correct but
83+
* server was not able to process entity.
84+
*/
85+
public static final int STATUS_CODE_UNPROCESSABLE_ENTITY = 422;
86+
8187
/** Status code for an internal server error. */
8288
public static final int STATUS_CODE_SERVER_ERROR = 500;
8389

0 commit comments

Comments
 (0)
0