Files
cantera/interfaces/matlab/toolbox/geterr.m
T

11 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