docs: protected Response error(@Nullable String input, Exception e) {
          LOGGER.debug("Invalid input received: {}", input);
          String errorMessage = errorMessage(e);
          if (errorMessage.contains("%s")) {
              errorMessage = String.format(errorMessage, parameterName);
          }
          return Response.status(getErrorStatus())
                         .entity(new ErrorMessage(getErrorStatus().getStatusCode(),
                                 errorMessage))
                         .type(mediaType())
                         .build();
      }