cantera/interfaces/matlab/toolbox/geterr.m
2015-08-02 23:06:16 -04:00

10 lines
173 B
Matlab

function e = geterr
% GETERR Get the error message from a Cantera error.
% e = geterr
%
try
e = ctmethods(0,2); % getCanteraError;
catch ME
e = getReport(ME);
end