public static ErrorMessage createBadRequest(String detailedMessage) {
        return new ErrorMessage(BAD_REQUEST.code, "Bad request.", detailedMessage);
    }
Creates an error analog to HTTP bad request. If this error is present, a
HTTP layer will return 400.
container-search/src/main/java/com/yahoo/search/result/ErrorMessage.java