error in e.g. repl session