public JsonRpcErrorException(JsonRpcErrorResponse errorResponse, Exception inner)
     : base(errorResponse.Error.Message, inner)
 {
     Error = errorResponse;
 }
 public JsonRpcErrorException(JsonRpcErrorResponse errorResponse)
     : base(errorResponse.Error.Message)
 {
     Error = errorResponse;
 }