Add pretty printing for REPL type errors

1 job for master
Status Job ID Name Coverage
  Test
canceled #1383
docker_build