1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00
Files
kubo/core/coreiface/errors.go
Steven Allen 8542b6569a errors: introduce a 'not supported' error
This commit was moved from ipfs/interface-go-ipfs-core@a81e4359ce

This commit was moved from ipfs/boxo@2c70ad1761
2019-02-19 02:44:36 -08:00

11 lines
333 B
Go

package iface
import "errors"
var (
ErrIsDir = errors.New("this dag node is a directory")
ErrNotFile = errors.New("this dag node is not a regular file")
ErrOffline = errors.New("this action must be run in online mode, try running 'ipfs daemon' first")
ErrNotSupported = errors.New("operation not supported")
)