Exception thrown when there is a problem parsing a configuration file.
| 10 | _VAR = re.compile(r'\$\{([a-zA-Z0-9_-]+)\}') |
| 11 | |
| 12 | class FormatError(OSError): |
| 13 | """ |
| 14 | Exception thrown when there is a problem parsing a configuration file. |
| 15 | |
| 16 | """ |
| 17 | def __init__(self, msg): |
| 18 | self.msg = msg |
| 19 | |
| 20 | def __str__(self): |
| 21 | return self.msg |
| 22 | |
| 23 | class PkgNotFound(OSError): |
| 24 | """Exception raised when a package can not be located.""" |
no outgoing calls
no test coverage detected