Jesse Szwedko
|
9e5b04886c
|
Remove logic that exited even if the error was not an OsExiter
This was introduced in #496, but was discovered to be a regression in
the behavior of the library.
|
2017-03-04 14:33:36 -08:00 |
|
HIROSE Masaaki
|
286b4b56d9
|
Document on exit code in case of MultiError is given
|
2017-01-12 19:12:17 +09:00 |
|
hirose31
|
70a2c94089
|
Merge branch 'master' into fix/handle-multierror
|
2017-01-12 18:16:34 +09:00 |
|
mh-cbon
|
b0a8f25773
|
558: handle multi formatter errors
|
2016-11-13 22:34:31 +01:00 |
|
Jesse Szwedko
|
36053a9dfd
|
Merge branch 'master' into fix/handle-multierror
|
2016-11-12 12:46:57 -08:00 |
|
HIROSE Masaaki
|
6c50b15a27
|
Exit with the code of ExitCoder if exists
|
2016-11-11 13:11:50 +09:00 |
|
mh-cbon
|
79591889a9
|
Close #558: detect FormattedError and print their stack trace
|
2016-11-05 10:36:23 +01:00 |
|
Cody Moore
|
6c2c80959b
|
Typo in comments
Typo changing `implents` to `implements`
|
2016-10-05 11:17:03 -07:00 |
|
HIROSE Masaaki
|
ce42837702
|
Call HandleExitCoder for all members of MultiError.Errors
|
2016-09-30 19:23:44 +09:00 |
|
Dan Buch
|
e9688813e4
|
Refine error handling behavior
so that exit 1 happens as long as error is non-nil
|
2016-07-24 12:09:05 -04:00 |
|
Dan Buch
|
dd253d122c
|
Write err to stderr, exit 1 if err != ""
Closes #475
|
2016-07-24 11:57:51 -04:00 |
|
Matt Farina
|
2f110bd745
|
Cleaned up exported func comments per golint
|
2016-05-09 10:12:59 -04:00 |
|
Matt Farina
|
6f0b442222
|
Update to ErrWriter and make available on app
|
2016-05-06 12:14:26 -04:00 |
|
Matt Farina
|
2a256d4c53
|
Provide a variable for writing output with a default of os.Stderr
|
2016-05-05 10:26:53 -04:00 |
|
Dan Buch
|
4b4c07bd4f
|
Ensure HandleAction/HandleExitCoder work correctly with *ExitError
Closes #376
|
2016-05-02 11:32:22 -04:00 |
|
Dan Buch
|
d48e22a9dd
|
Docs around exit error behavior, + handling MultiError in HandleExitCoder
|
2016-04-27 09:54:08 -04:00 |
|
Dan Buch
|
f688d47415
|
Encapsulate ExitCoder check into a lil func
|
2016-04-27 09:18:42 -04:00 |
|
Dan Buch
|
f3e55a0783
|
Move error types to errors.go
|
2016-04-27 09:13:52 -04:00 |
|