class Pry::Command::Cat::ExceptionFormatter

def check_for_errors

def check_for_errors
  raise CommandError, "No exception found." unless ex
  return if backtrace_file
  raise CommandError, "The given backtrace level is out of bounds."
end