public static ErrorMessage createErrorInPluginSearcher(String detailedMessage, Throwable cause) {
        return new ErrorMessage(ERROR_IN_PLUGIN.code, "Error in plugin Searcher", detailedMessage, cause);
    }
Creates a general error from an application component.
container-search/src/main/java/com/yahoo/search/result/ErrorMessage.java