storj/storage/boltdb/common.go
nfarah86 d396eb6be9
Bug/download (#216)
* fixed downloading empty file

* fixed formatting

* fixed error handling

* fixed cache_test.go to accomodate for error

* fixed error verbose messaging for wrong downlaods

* clean up
2018-08-14 08:22:29 -07:00

15 lines
315 B
Go

// Copyright (C) 2018 Storj Labs, Inc.
// See LICENSE for copying information.
package boltdb
import (
"github.com/zeebo/errs"
)
// Error is the default boltdb errs class
var Error = errs.Class("boltdb error")
//ErrKeyNotFound used When something doesn't exist
var ErrKeyNotFound = errs.Class("key not found")