syncthing/vendor/github.com/syndtr/goleveldb/leveldb/errors.go

20 lines
562 B
Go
Raw Normal View History

2014-07-06 12:46:48 +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 (
2014-11-18 12:24:42 +00:00
"github.com/syndtr/goleveldb/leveldb/errors"
2014-07-06 12:46:48 +00:00
)
var (
2014-11-18 12:24:42 +00:00
ErrNotFound = errors.ErrNotFound
2015-06-15 19:10:18 +00:00
ErrReadOnly = errors.New("leveldb: read-only mode")
2014-07-06 12:46:48 +00:00
ErrSnapshotReleased = errors.New("leveldb: snapshot released")
ErrIterReleased = errors.New("leveldb: iterator released")
ErrClosed = errors.New("leveldb: closed")
)