Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ lib/ python2.7/ site-packages/ pynag/ |
|
"""Pynag Errors.""" class PynagError(Exception): """Base class for Pynag Exceptions.""" def __init__(self, message, errorcode=None, errorstring=None, *args, **kwargs): self.errorcode = errorcode self.message = message self.errorstring = errorstring try: super(PynagError, self).__init__(message, *args, **kwargs) except TypeError: # Python 2.4 is fail Exception.__init__(self, message, *args, **kwargs)