public void Error() { Assert.Throws <LevelDBException>(() => { var options = new Options() { CreateIfMissing = false }; var db = new LDB("non-existent", options); Assert.True(false); db.Get("key1"); }); }