package io.tetrapod.core.rpc;

public class ErrorResponseException extends RuntimeException {  
   private static final long serialVersionUID = 1L;
   
   public final int errorCode;

   public ErrorResponseException(int errorCode) {
      super("ErrorCode = " + errorCode);
      this.errorCode = errorCode;
   }
}

@@ -307,10 +307,168 @@
 e;%0A   %7D%0A
+   public ErrorResponseException(int errorCode, String extra) %7B%0A      super(%22ErrorCode = %22 + errorCode + %22 %22 + extra);%0A      this.errorCode = errorCode;%0A   %7D%0A
 %7D%0A

Add details to exception