Skip to content

Commit b3872c8

Browse files
Seelengrabpull[bot]
authored andcommitted
Add docstring for err in the REPL (#48300)
* Add docstring for `err` in the REPL * Add `err` to Essentials docs Co-authored-by: Sukera <Seelengrab@users.noreply.github.com>
1 parent 6bbabaf commit b3872c8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

base/docs/basedocs.jl

+8
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,14 @@ A variable referring to the last computed value, automatically set at the intera
14561456
"""
14571457
kw"ans"
14581458

1459+
"""
1460+
err
1461+
1462+
A variable referring to the last thrown errors, automatically set at the interactive prompt.
1463+
The thrown errors are collected in a stack of exceptions.
1464+
"""
1465+
kw"err"
1466+
14591467
"""
14601468
devnull
14611469

doc/src/base/base.md

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Base.which(::Any, ::Any)
3737
Base.methods
3838
Base.@show
3939
ans
40+
err
4041
Base.active_project
4142
Base.set_active_project
4243
```

0 commit comments

Comments
 (0)