Commit 60fc5696 authored by Łukasz Magiera's avatar Łukasz Magiera

coreapi: var block for errors

License: MIT
Signed-off-by: default avatarŁukasz Magiera <magik6k@gmail.com>
parent dba6c1b7
......@@ -2,5 +2,7 @@ package iface
import "errors"
var ErrIsDir = errors.New("object is a directory")
var ErrOffline = errors.New("can't resolve, ipfs node is offline")
var (
ErrIsDir = errors.New("object is a directory")
ErrOffline = errors.New("can't resolve, ipfs node is offline")
)
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