Class ErrorCodeDocument

java.lang.Object
com.iohao.net.framework.core.doc.ErrorCodeDocument

public final class ErrorCodeDocument extends Object
Documentation model for a single error code entry, carrying the enum constant name, numeric value, and human-readable description.
Author:
渔民小镇
date:
2024-06-26
  • Field Details

    • name

      public String name
      Error Code - Variable name
    • value

      public int value
      Error Code - Value
    • description

      public String description
      Error Code - Description
  • Constructor Details

    • ErrorCodeDocument

      public ErrorCodeDocument()
  • Method Details

    • getName

      public String getName()
      Error Code - Variable name
    • getValue

      public int getValue()
      Error Code - Value
    • getDescription

      public String getDescription()
      Error Code - Description
    • toString

      public String toString()
      Overrides:
      toString in class Object