mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 19:44:01 +08:00
commands: restore and test original error order
License: MIT Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
This commit is contained in:
@ -17,8 +17,8 @@ type ErrorType uint
|
||||
const (
|
||||
ErrNormal ErrorType = iota // general errors
|
||||
ErrClient // error was caused by the client, (e.g. invalid CLI usage)
|
||||
ErrNotFound // == HTTP 404 Not Found
|
||||
ErrImplementation // programmer error in the server
|
||||
ErrNotFound // == HTTP 404 Not Found
|
||||
// TODO: add more types of errors for better error-specific handling
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user