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
Copy file name to clipboardExpand all lines: README.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,11 +28,14 @@ It can look redundant (compared to `if ! fn; then :; fi`) to define error functi
28
28
-`core.err_clear`
29
29
-`core.err_exists`
30
30
31
-
### `stacktrace`
31
+
### `print`
32
32
33
-
Prints the stack trace. It is recommended to use this with `core.trap_add` (see [example](./docs/api.md#corestacktraceprint))
33
+
-`core.print_error`
34
+
-`core.print_warn`
35
+
-`core.print_info`
36
+
-`core.print_stacktrace`
34
37
35
-
-`core.stacktrace_print`
38
+
The function `core.print_stacktrace` prints the stack trace. It is recommended to use this with `core.trap_add` (see [example](./docs/api.md#coreprint_stacktrace))
0 commit comments