errstr method

String errstr(
  1. int arg1
)
inherited

Implementation

String errstr(int arg1) {
  if (libVersionNumber < 3007015) {
    throw dbsql.DatabaseException('API sqlite3_errstr is not available before 3.7.15');
  }
  PtrString result = ffi.nullptr;
  try {
    var result = _h_sqlite3_errstr!(arg1);
    return result.toDartString();
  } finally {
    pkgffi.malloc.free(result);
  }
}