class Dependabot::DependencyFileNotFound

def directory

def directory
  # Directory should always start with a `/`
  return unless file_path
  T.must(T.must(file_path).split("/")[0..-2]).join("/").sub(%r{^/*}, "/")
end

def file_name

def file_name
  return unless file_path
  T.must(file_path).split("/").last
end

def initialize(file_path, msg = nil)

def initialize(file_path, msg = nil)
  @file_path = file_path
  super(msg || "#{file_path} not found")
end