Skip to content

Commit 5fa4329

Browse files
committed
docs: Add print to root README and fix broken link
1 parent c9133ea commit 5fa4329

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ It can look redundant (compared to `if ! fn; then :; fi`) to define error functi
2828
- `core.err_clear`
2929
- `core.err_exists`
3030

31-
### `stacktrace`
31+
### `print`
3232

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`
3437

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))
3639

3740
This is what it may look like
3841

0 commit comments

Comments
 (0)