1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-23 21:47:52 +08:00

docs(ipfs2/main)

@mappum

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
Brian Tiger Chow
2014-11-12 15:24:52 -08:00
committed by Juan Batiz-Benet
parent 22a4cc7d30
commit 4e740f63eb

View File

@ -252,6 +252,8 @@ func outputResponse(res cmds.Response, root *cmds.Command) error {
fmt.Printf(errorFormat, res.Error().Error())
if res.Error().Code != cmds.ErrClient {
// TODO does ErrClient mean "error the client should see" or "this
// is an error caused by the user ie. user error"?
return res.Error()
}