You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: errorMessageCatalog.m
    path of file: ./repos/MatGPT/helpers/llms-with-matlab/+llms/+utils
    
    the code of the file until where you have to start completion: classdef errorMessageCatalog
%errorMessageCatalog Stores the error messages from this repository

%   Copyright 2023-20
    
function msg = getMessage(messageId, slot)
            %getMessage returns error message given a messageID and a SLOT.
            %   The value in SLOT should be ordered, where the n-th element
            %   will replace the value "{n}".

            arguments
                messageId {mustBeNonzeroLengthText}
            end