You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suppose it can look redundant (compared to `if ! fn; then :; fi`), but it can help make errors a bit more safe in larger applications, since you don't have to worry about a caller forgetting to `if ! fn` or `fn ||` (and terminating the script if `set -e`). It also makes it easier to communicate specific error codes and helps separate between calculated / expected errors and unexpected errors (fatal / faults)
@@ -47,23 +32,12 @@ I suppose it can look redundant (compared to `if ! fn; then :; fi`), but it can
47
32
-`core.err_clear`
48
33
-`core.err_exists`
49
34
50
-
## `stacktrace`
35
+
###`stacktrace`
51
36
52
37
Prints the stack trace. Recommended to use with `core.trap_add`
0 commit comments