errors.go 333 Bytes
Newer Older
1 2 3 4
package iface

import "errors"

5
var (
6 7 8 9
	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")
10
)