Skip to content
Snippets Groups Projects
exception.py 575 B
Newer Older
#!/usr/bin/env python
#coding=utf8

'''
Seblu's avatar
Seblu committed
CloudControl CLI Exceptions Module
'''

################################################################################
class cliException(Exception):
    pass

class cliError(cliException):
Seblu's avatar
Seblu committed
class BadArgument(cliError):
Seblu's avatar
Seblu committed
    pass
Seblu's avatar
Seblu committed

################################################################################
class cmdException(cliException):
    pass

Seblu's avatar
Seblu committed
class cmdBadName(cmdException):
    pass

class cmdBadArgument(cmdException):
    pass

class cmdWarning(cmdException):
Seblu's avatar
Seblu committed
    pass
Seblu's avatar
Seblu committed

class cmdError(cmdException):
Seblu's avatar
Seblu committed
    pass