mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
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
This commit is contained in:
parent
8cc592cde3
commit
8542b6569a
@ -3,7 +3,8 @@ 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")
|
||||
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")
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user