public static ErrorMessage createUnauthorized(String detailedMessage) {
        return new ErrorMessage(UNAUTHORIZED.code, "Client not authenticated.", detailedMessage);
    }
Creates an error indicating that the requestor is not authorized to perform the requested operation.
If this error is present, a HTTP layer will return 401.
container-search/src/main/java/com/yahoo/search/result/ErrorMessage.java