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