本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
580B

  1. // Copyright (c) 2014, Suryandaru Triandana <syndtr@gmail.com>
  2. // All rights reserved.
  3. //
  4. // Use of this source code is governed by a BSD-style license that can be
  5. // found in the LICENSE file.
  6. package leveldb
  7. import (
  8. "github.com/syndtr/goleveldb/leveldb/errors"
  9. )
  10. // Common errors.
  11. var (
  12. ErrNotFound = errors.ErrNotFound
  13. ErrReadOnly = errors.New("leveldb: read-only mode")
  14. ErrSnapshotReleased = errors.New("leveldb: snapshot released")
  15. ErrIterReleased = errors.New("leveldb: iterator released")
  16. ErrClosed = errors.New("leveldb: closed")
  17. )
上海开阖软件有限公司 沪ICP备12045867号-1