Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 455 Bytes

File metadata and controls

12 lines (11 loc) · 455 Bytes

An error, defined in grip/exceptions.py, that is raised when the specified Readme could not be found. It is a subclass of NotFoundError.

An example usage can be found in readers.py in the readme_for method of the DirectoryReader class:

    def readme_for(self, subpath):
        ...
        # Check for existence
        if not os.path.exists(filename):
            raise ReadmeNotFoundError(filename)
        ...