Class Errors

java.lang.Object
it.pagopa.swclient.mil.bean.Errors

public class Errors extends Object

List of errors.

Author:
Antonio Tarricone
  • Field Details

    • errors

      @NonNull private @NonNull List<String> errors

      List of error codes.

    • descriptions

      private List<String> descriptions

      List of error messages.

  • Constructor Details

    • Errors

      public Errors(String error, String description)

      Constructor for a single couple error/description.

      Parameters:
      error - Error code.
      description - Error message.
    • Errors

      public Errors(String error)

      Constructor for a single error w/o description.

      Parameters:
      error - Error code.