Motivation: Silent error is not enough for a better experience with CLI
|
type Silent interface { |
|
error |
|
// Code returns an exit code. |
|
Code() int |
|
// Message optionally returns an exit message. |
|
Message() (string, bool) |
|
} |
. Need to define abstract error with exit code support and ake it useful for
go-tool and
go-service templates.
To do:
Motivation:
Silenterror is not enough for a better experience with CLIcli/errors/silent.go
Lines 7 to 13 in d3a8508
To do: