2015-02-16 13:28:33 +00: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 (
|
2015-04-28 09:18:01 +00:00
|
|
|
"github.com/syndtr/goleveldb/leveldb/errors"
|
2015-02-16 13:28:33 +00:00
|
|
|
)
|
|
|
|
|
2016-10-20 12:56:34 +00:00
|
|
|
// Common errors.
|
2015-02-16 13:28:33 +00:00
|
|
|
var (
|
2015-04-28 09:18:01 +00:00
|
|
|
ErrNotFound = errors.ErrNotFound
|
2016-02-11 14:16:52 +00:00
|
|
|
ErrReadOnly = errors.New("leveldb: read-only mode")
|
2015-02-16 13:28:33 +00:00
|
|
|
ErrSnapshotReleased = errors.New("leveldb: snapshot released")
|
|
|
|
ErrIterReleased = errors.New("leveldb: iterator released")
|
|
|
|
ErrClosed = errors.New("leveldb: closed")
|
|
|
|
)
|