docs: @Override
      public void uploadFailed(final FailedEvent event) {
          assertStateConsistency(fileUploadId, event.getFilename());
  
          if (!isUploadInterrupted()) {
              interruptUploadDueToUploadFailed();
          }
          publishUploadFailedAndFinishedEvent(fileUploadId, event.getReason());
      }