code: @Expose
      protected List<Exception> getExceptions() {
          List<Exception> exceptions = new ArrayList<Exception>();
          exceptions.add(exception);
  
          Throwable currentThrowable = exception.getThrowable().getCause();
          while (currentThrowable != null) {
              exceptions.add(new Exception(config, currentThrowable));
              currentThrowable = currentThrowable.getCause();
          }
  
          return exceptions;
      }
docs: Get the exceptions for the report.
  
  @return the exceptions that make up the error.