Источник:
http://alexvoy.blogspot.com/2022/11/...as-string.html
==============
///
/// Gets infolog content
///
/// infolog string
public static str
getErrorStr(container _cont)
{
SysInfologEnumerator enumerator;
SysInfologMessageStruct msgStruct;
Exception exception;
str error;
enumerator = SysInfologEnumerator::newData(_cont);
while (enumerator.moveNext())
{
msgStruct =
new SysInfologMessageStruct(enumerator.currentMessage());
exception = enumerator.currentException();
error = strfmt(
'%
1 %
2', error, msgStruct.message());
}
return error;
}
Источник:
http://alexvoy.blogspot.com/2022/11/...as-string.html