repl, error types