class Pry::Command::Cat::ExceptionFormatter

def format

def format
  check_for_errors
  set_file_and_dir_locals(
    backtrace_file, pry_instance, pry_instance.current_context
  )
  code = decorate(
    Pry::Code.from_file(backtrace_file)
      .between(*start_and_end_line_for_code_window)
      .with_marker(backtrace_line)
  )
  "#{header}#{code}"
end