mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-09 04:28:30 -05:00
11 lines
173 B
Matlab
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
|