mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Documentation cleanup
Ticket: Reviewed By: Testing Done: - these changes are mainly related to api doc generation using sphinx
This commit is contained in:
23
ifupdown/exceptions.py
Normal file
23
ifupdown/exceptions.py
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/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
|
Reference in New Issue
Block a user