kubo/core/coreapi/interface/errors.go
Steven Allen e37b252c0c coreapi: fix errisdir
JavaScript expects this to be "this dag node is a directory". I'm almost of a
mind to say "don't parse errors" but, well, we don't give any better
alternatives.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 08:48:49 -07:00

9 lines
197 B
Go

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