title: How to manipulate error code enum
body: <p>I have the below code:</p>
  
  <pre><code>public enum CpAutoExecCode implements CpAutoErrorCode {
      //TODO - List of the execution error codes
      //Error code sample
      GENERIC_EXECUTION_ERROR(200,"Generic execution error code description"),
      MISSING_REQUIRED_FIELD(201,"Required field %s is missing from model : %s");
  
      private final int number;
      private final String description;
  
      private CpAutoExecCode(int number,String description) {
          this.number = number;
          this.description = description;
      }
  
      @Override
      public int getNumber() {
          return number;
      }
  
      @Override
      public String getDescription() {
          return description;
      } 
  }
  </code></pre>
  
  <p>i want to assign the required field and the object name in the %s .
  does anyone have a simple way to do it?</p>