code: public static Result internalServerError(Throwable e) {
          return status(Result.INTERNAL_SERVER_ERROR).render(e).as(MimeTypes.JSON);
      }
docs: Generates a new result with the status set to {@literal 500 - INTERNAL SERVER ERROR} and a JSON-form of the
  given exception as content. The {@literal Content-Type} header is set to {@literal application/json}.
  
  @param e the exception
  @return the new result