From 5a78c262299bf9017eefabf20f4345428595fe17 Mon Sep 17 00:00:00 2001 From: Fs00 Date: Tue, 21 Dec 2021 09:05:17 +0100 Subject: [PATCH] Add more possible FieldError reasons --- .../com/meisolsson/githubsdk/model/ClientErrorResponse.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/src/main/java/com/meisolsson/githubsdk/model/ClientErrorResponse.java b/library/src/main/java/com/meisolsson/githubsdk/model/ClientErrorResponse.java index 9a0d740f..4baa94c2 100644 --- a/library/src/main/java/com/meisolsson/githubsdk/model/ClientErrorResponse.java +++ b/library/src/main/java/com/meisolsson/githubsdk/model/ClientErrorResponse.java @@ -58,6 +58,8 @@ public enum Reason { @Json(name = "invalid") Invalid, @Json(name = "already_exists") AlreadyExists, @Json(name = "too_large") TooLarge, + @Json(name = "not_available") NotAvailable, + @Json(name = "unprocessable") Unprocessable, @Json(name = "custom") Custom }