22 lines
374 B
Python
22 lines
374 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
A simple class to manage our custom exceptions.
|
|
"""
|
|
|
|
|
|
__author__ = "Tatiyk"
|
|
__copyright__ = "Copyright 2017, ACMS"
|
|
__license__ = "GPLv3"
|
|
__status__ = "Production"
|
|
__date__ = "03/19/2017"
|
|
|
|
|
|
class CommandException(Exception):
|
|
def __init__(self, message):
|
|
self.message = message
|
|
|
|
def __str__(self):
|
|
return self.message
|