2015-02-03 05:17:15 +03:00
|
|
|
// Copyright (c) 2014, Suryandaru Triandana <syndtr@gmail.com>
|
|
|
|
// All rights reserved.
|
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
package leveldb
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/syndtr/goleveldb/leveldb/errors"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
ErrNotFound = errors.ErrNotFound
|
2015-06-18 11:23:42 +03:00
|
|
|
ErrReadOnly = errors.New("leveldb: read-only mode")
|
2015-02-03 05:17:15 +03:00
|
|
|
ErrSnapshotReleased = errors.New("leveldb: snapshot released")
|
|
|
|
ErrIterReleased = errors.New("leveldb: iterator released")
|
|
|
|
ErrClosed = errors.New("leveldb: closed")
|
|
|
|
)
|