Skip to content

Commit

Permalink
Add docstring for err in the REPL (#48300)
Browse files Browse the repository at this point in the history
* Add docstring for `err` in the REPL

* Add `err` to Essentials docs

Co-authored-by: Sukera <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jan 22, 2023
1 parent 6bbabaf commit b3872c8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions base/docs/basedocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1456,6 +1456,14 @@ A variable referring to the last computed value, automatically set at the intera
"""
kw"ans"

"""
err
A variable referring to the last thrown errors, automatically set at the interactive prompt.
The thrown errors are collected in a stack of exceptions.
"""
kw"err"

"""
devnull
Expand Down
1 change: 1 addition & 0 deletions doc/src/base/base.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Base.which(::Any, ::Any)
Base.methods
Base.@show
ans
err
Base.active_project
Base.set_active_project
```
Expand Down

0 comments on commit b3872c8

Please sign in to comment.