repl: make last error available as _error
#18919
+103
−0
Closed
_error
#18919