Class RestErrorCollection


  • @ExperimentalApi
    public class RestErrorCollection
    extends Object
    • Constructor Detail

      • RestErrorCollection

        public RestErrorCollection()
      • RestErrorCollection

        public RestErrorCollection​(@NotNull
                                   @NotNull ErrorCollection simpleErrorCollection)
      • RestErrorCollection

        public RestErrorCollection​(@NotNull
                                   @NotNull String error)
    • Method Detail

      • addError

        public void addError​(String error)
      • addFieldError

        public void addFieldError​(String field,
                                  String error)
      • hasNoErrors

        public boolean hasNoErrors()