Revision 8977
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/util.sh | ||
---|---|---|
42 | 42 |
|
43 | 43 |
ignore () { catch "$@" || true; } |
44 | 44 |
|
45 |
alias end_try='return "$e"'
|
|
46 |
alias end_try_subshell='exit "$e"'
|
|
45 |
alias end_try='rethrow'
|
|
46 |
alias end_try_subshell='rethrow_subshell'
|
|
47 | 47 |
|
48 | 48 |
#### integers |
49 | 49 |
|
Also available in: Unified diff
lib/util.sh: exceptions: end_try* aliases: use new rethrow*