/usr/lib/python2.7/dist-packages/artifacts/errors.py is in python-artifacts 20170808-1.
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 | # -*- coding: utf-8 -*-
"""The error objects."""
class Error(Exception):
"""The error interface."""
class CodeStyleError(Error):
"""Error that is raised when code formatting fails style checks."""
class FormatError(Error):
"""Error that is raised when the format is incorrect."""
class MissingDependencyError(Error):
"""Artifact references artifact that is undefined."""
|