Unverified Commit a10c4530 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #5 from ipfs/feat/not-supported-error

errors: introduce a 'not supported' error
parents f583bd20 2fb429e3
0.1.6: QmNt8iUv3uJoVrJ3Ls4cgMLk124V4Bt1JxuUMWbjULt9ns 0.1.7: QmNuVxikLRanHXwpw3sy58Vt5yMd4K5BRmWsUqYCctRRVE
...@@ -3,7 +3,8 @@ package iface ...@@ -3,7 +3,8 @@ package iface
import "errors" import "errors"
var ( var (
ErrIsDir = errors.New("this dag node is a directory") ErrIsDir = errors.New("this dag node is a directory")
ErrNotFile = errors.New("this dag node is not a regular file") 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") ErrOffline = errors.New("this action must be run in online mode, try running 'ipfs daemon' first")
ErrNotSupported = errors.New("operation not supported")
) )
...@@ -91,6 +91,6 @@ ...@@ -91,6 +91,6 @@
"license": "", "license": "",
"name": "interface-go-ipfs-core", "name": "interface-go-ipfs-core",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"", "releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "0.1.6" "version": "0.1.7"
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment