Remove GetError() from Iterator

This commit is contained in:
Jae Kwon
2017-12-12 19:19:26 -08:00
parent edf07760d6
commit 5636a02d03
4 changed files with 12 additions and 16 deletions

View File

@ -107,12 +107,6 @@ type Iterator interface {
// If Valid returns false, this method will panic.
Value() []byte
// GetError returns an IteratorError from LevelDB if it had one during
// iteration.
//
// This method is safe to call when Valid returns false.
GetError() error
// Release deallocates the given Iterator.
Release()
}