PlastError
Bun

property

repl.REPLServer.lastError

readonly lastError: any

The last error raised inside the REPL (assigned to the _error variable inside of the REPL).