Package io.jenkins.blueocean.commons
Class ErrorMessage
java.lang.Object
io.jenkins.blueocean.commons.ErrorMessage
Describes JSON based error message.
{
"code": 401,
"message": "login failed",
"errors" : [ {
"message" : "Invalid password",
"code" : "INVALID",
"field" : "password"
} ]
}
- Author:
- Vivek Pandey
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(ErrorMessage.Error error) addAll
(Collection<ErrorMessage.Error> errors)
-
Field Details
-
message
-
code
public final int code
-
-
Constructor Details
-
ErrorMessage
-
-
Method Details
-
add
-
addAll
-
getErrors
-