# -*- coding: utf-8 -*-
"""Class for input error exception

.. module:: lib.exceptions.inputerror
   :platform: Unix
   :synopsis: Class for input error exception
.. moduleauthor:: Petr Czaderna <pc@hydratk.org>

"""


class InputError(Exception):
    """Class InputError
    """

    def __init__(self, error_num, args, msg):
        """Class constructor

        Called when object is initialized

        Args:   
           error_num (int): number
           args (list): arguments
           msg (str): message

        """

        self.error_num = error_num
        self.args = args
        self.message = msg
