class Pry::CommandError

indicate an exceptional condition that’s fatal to the current command.
CommandErrors are caught by the REPL loop and displayed to the user. They