master
go 10 lines 333 Bytes
Raw
1 package iface
2
3 import "errors"
4
5 var (
6 ErrIsDir = errors.New("this dag node is a directory")
7 ErrNotFile = errors.New("this dag node is not a regular file")
8 ErrOffline = errors.New("this action must be run in online mode, try running 'ipfs daemon' first")
9 ErrNotSupported = errors.New("operation not supported")
10 )