Make storage NotFoundError available

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-09-01 20:29:54 -03:00
parent 954c52471b
commit d8ec0eb754
2 changed files with 8 additions and 8 deletions

View File

@@ -6,10 +6,10 @@ import (
"github.com/play-with-docker/play-with-docker/pwd/types"
)
var notFound = errors.New("NotFound")
var NotFoundError = errors.New("NotFound")
func NotFound(e error) bool {
return e == notFound
return e == NotFoundError
}
type StorageApi interface {