You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: friendly_errors.rb
    path of file: ./repos/bundler/lib/bundler
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require_relat
    
    def exit_status(error)
      case error
      when BundlerError then error.status_code
      when Thor::Error then 15
      when SystemExit then error.status
      else 1
      end