Skip to content

Commit

Permalink
Revert errorMessageCatalog
Browse files Browse the repository at this point in the history
  • Loading branch information
vpapanasta authored Jun 5, 2024
1 parent d0e4c93 commit 53ca673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions +llms/+utils/errorMessageCatalog.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

properties(Constant)
%CATALOG dictionary mapping error ids to error msgs
Catalog = buildErrorMessageCatalog();
Catalog = buildErrorMessageCatalog;
end

methods(Static)
Expand All @@ -31,7 +31,7 @@
end
end

function catalog = buildErrorMessageCatalog()
function catalog = buildErrorMessageCatalog
catalog = dictionary("string", "string");
catalog("llms:mustBeUnique") = "Values must be unique.";
catalog("llms:mustBeVarName") = "Parameter name must begin with a letter and contain not more than 'namelengthmax' characters.";
Expand Down

0 comments on commit 53ca673

Please sign in to comment.