repl error reporting