public interface ErrorResult extends DoneAware, CodeAware
- success is false, not complete because of errors - code the err-code more than errors - errors should null if error is empty
| Modifier and Type | Method and Description |
|---|---|
@Nullable List<I18nNotice> |
getErrors()
errors cause success to be false,
should be null if empty.
|
default List<I18nNotice> |
getErrorsIf(boolean nonnull) |
default List<I18nNotice> |
getErrorsOr(List<I18nNotice> elze) |
@Nullable @Nullable List<I18nNotice> getErrors()
@Contract(value="true->!null") default List<I18nNotice> getErrorsIf(boolean nonnull)
@Contract(value="!null->!null") default List<I18nNotice> getErrorsOr(List<I18nNotice> elze)
Copyright © 2025. All rights reserved.