We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a84b286 commit 7ccbfa0Copy full SHA for 7ccbfa0
+nix/NamedEntity.m
@@ -25,7 +25,9 @@
25
% Compares first name and second id, return > 0 if the entity
26
% is larger than the other, 0 if both are equal, and < 0 otherwise.
27
if (~isa(obj, class(entity)))
28
- error('Only entities of the same class can be compared.');
+ err.identifier = 'NIXMX:InvalidArgument';
29
+ err.message = 'Only entities of the same class can be compared.';
30
+ error(err);
31
end
32
fname = strcat(obj.alias, '::compare');
33
r = nix_mx(fname, obj.nix_handle, entity.nix_handle);
0 commit comments