/usr/share/ifupdown2/ifupdown/exceptions.py is in ifupdown2 1.0~git20170314-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 19 20 21 22 23 24 25 26 | #!/usr/bin/python
#
# Copyright 2014 Cumulus Networks, Inc. All rights reserved.
# Author: Roopa Prabhu, roopa@cumulusnetworks.com
#
# ifupdown --
# exceptions
#
class Error(Exception):
"""Base class for exceptions in ifupdown"""
pass
class ifaceNotFoundError(Error):
pass
class invalidValueError(Error):
pass
class errorReadingStateError(Error):
pass
class moduleNotSupported(Error):
pass
|