This file is indexed.

/usr/lib/ruby/vendor_ruby/diaspora_federation/discovery/exceptions.rb is in ruby-diaspora-federation 0.1.4-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
module DiasporaFederation
  module Discovery
    # Raised, if the XML structure is invalid
    class InvalidDocument < RuntimeError
    end

    # Raised, if something is wrong with the webfinger data
    #
    # * if the +webfinger_url+ is missing or malformed in {HostMeta.from_base_url} or {HostMeta.from_xml}
    # * if the parsed XML from {WebFinger.from_xml} is incomplete
    # * if the html passed to {HCard.from_html} in some way is malformed, invalid or incomplete.
    class InvalidData < RuntimeError
    end

    # Raised, if there is an error while discover a new person
    class DiscoveryError < RuntimeError
    end
  end
end