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

import "errors"

5
var (
Steven Allen's avatar
Steven Allen committed
6
	ErrIsDir   = errors.New("this dag node is a directory")
Łukasz Magiera's avatar
Łukasz Magiera committed
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
)