Interface GenericError.Builder

Enclosing class:
GenericError

public static interface GenericError.Builder
Builder helper class.
  • Method Summary

    Modifier and Type
    Method
    Description
    error(String error)
    Set the error of this GenericError instance.
  • Method Details

    • error

      GenericError error(@Nonnull String error)
      Set the error of this GenericError instance.
      Parameters:
      error - Human-readable error message
      Returns:
      The GenericError instance.