public ResponseEntity handleFormDataRepositoryCommunicationException()

in src/main/java/com/epam/digital/data/platform/form/provider/exception/ApplicationExceptionHandler.java [65:70]


  public ResponseEntity<DetailedErrorResponse> handleFormDataRepositoryCommunicationException(
      FormDataRepositoryCommunicationException exception) {
    log.error("Error during communication with repository", exception);
    return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
        .body(newDetailedResponse(RUNTIME_ERROR, exception));
  }