docs: @Override
      public Response toResponse(WebApplicationException exception) {
          if (!customErrorCodeMap.isEmpty())
          {
              StackTraceElement[] st = exception.getStackTrace();
              int length = st.length;
              for (int i = 0; i < length; i++) {
                  StackTraceElement s = st[i];
                  String classandMethodName = s.getClassName() + ":" + s.getMethodName() + ":" + i;
                  if (customErrorCodeMap.keySet().contains(classandMethodName))
                  {
                      return Response.status(customErrorCodeMap.get(classandMethodName)).build();
                  }
              }
          }
  
          return super.toResponse(exception);
      }