artifacts/errors.py
raw| 1 | # -*- coding: utf-8 -*- |
| 2 | """The error objects.""" |
| 3 | |
| 4 | |
| 5 | class Error(Exception): |
| 6 | """The error interface.""" |
| 7 | |
| 8 | |
| 9 | class CodeStyleError(Error): |
| 10 | """Error that is raised when code formatting fails style checks.""" |
| 11 | |
| 12 | |
| 13 | class FormatError(Error): |
| 14 | """Error that is raised when the format is incorrect.""" |
| 15 | |
| 16 | |
| 17 | class MissingDependencyError(Error): |
| 18 | """Artifact references artifact that is undefined.""" |