getLastError method

String getLastError()

Implementation

String getLastError() {
  if (_engine == ffi.nullptr) return 'Engine is not initialized';
  return _fromNativeCharPtr(_getLastError(_engine));
}