class RDoc::RI::Driver::NotFoundError

def initialize(klass, suggestion_proc = nil) # :nodoc:

:nodoc:
def initialize(klass, suggestion_proc = nil) # :nodoc:
  @klass = klass
  @suggestion_proc = suggestion_proc
end

def message # :nodoc:

:nodoc:
def message # :nodoc:
  str = "Nothing known about #{@klass}"
  suggestions = @suggestion_proc&.call
  if suggestions and !suggestions.empty?
    str += "\nDid you mean?  #{suggestions.join("\n               ")}"
  end
  str
end

def name

def name
  @klass
end