docs: @Override
      public Response toResponse(ErrorDto e)
      {
          // String type = headers.getContentType() == null ? MediaType.APPLICATION_JSON : headers.getContentType();
          return Response.status(e.httpStatus).entity(e).type(MediaType.APPLICATION_JSON).build();
      }