Skip to main content
REPLServer.prototype.lastError - repl - Node documentation
property REPLServer.prototype.lastError

Usage in Deno

import { REPLServer } from "node:repl";

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

Type

any

See