@ExperimentalApi public class RestErrorCollection extends Object
Constructor and Description |
---|
RestErrorCollection() |
RestErrorCollection(ErrorCollection simpleErrorCollection) |
RestErrorCollection(String error) |
Modifier and Type | Method and Description |
---|---|
void |
addError(String error) |
void |
addFieldError(String field,
String error) |
Collection<String> |
getErrors() |
Map<String,List<String>> |
getFieldErrors() |
boolean |
hasNoErrors() |
public RestErrorCollection()
public RestErrorCollection(@NotNull ErrorCollection simpleErrorCollection)
public RestErrorCollection(@NotNull String error)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.