prometheus/vendor/github.com/syndtr/goleveldb/leveldb/errors.go
beorn7 56c9e024cb Update goleveldb vendoring to pick up many bug fixes
Including data races and shutdown fixes.
Might be the reason for some reported problems.
2016-10-28 14:58:36 +02:00

21 lines
580 B
Go

// 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"
)
// Common errors.
var (
ErrNotFound = errors.ErrNotFound
ErrReadOnly = errors.New("leveldb: read-only mode")
ErrSnapshotReleased = errors.New("leveldb: snapshot released")
ErrIterReleased = errors.New("leveldb: iterator released")
ErrClosed = errors.New("leveldb: closed")
)