class ParseError(ValueError): """Error raised when parsing a path with a pattern fails""" pass