Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
interface-go-dms3-core
Commits
a81e4359
Commit
a81e4359
authored
Feb 19, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
errors: introduce a 'not supported' error
parent
f583bd20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
errors.go
errors.go
+4
-3
No files found.
errors.go
View file @
a81e4359
...
...
@@ -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"
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment