Skip to content

Commit 0d1775a

Browse files
committed
docs(readme): Add new functions
1 parent 8c10afd commit 0d1775a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,25 @@ It can look redundant (compared to `if ! fn; then :; fi`) to define error functi
2727
- `core.err_set`
2828
- `core.err_clear`
2929
- `core.err_exists`
30+
- `core.err_print`
31+
- `core.err_print` (TODO: Make this internal)
3032

3133
### `print`
3234

35+
- `core.print_stacktrace`
3336
- `core.print_error`
3437
- `core.print_warn`
3538
- `core.print_info`
36-
- `core.print_stacktrace`
3739

3840
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))
3941

42+
### `misc`
43+
44+
Miscellaneous functions
45+
46+
- `core.panic()`
47+
- `core.should_output_color()`
48+
4049
This is what it may look like
4150

4251
```txt

0 commit comments

Comments
 (0)