class Pry::Command::Cat::ExceptionFormatter

def check_for_errors

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