.OpenModelica.Scripting.getErrorString

Returns the current error message. [file.mo:n:n-n:n:b] Error: message

Information

Returns a user-friendly string containing the errors stored in the buffer. With warningsAsErrors=true, it reports warnings as if they were errors.

Interface

impure function getErrorString
  input Boolean warningsAsErrors = false;
  output String errorString;
end getErrorString;

Generated at 2025-03-29T19:24:44Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos