Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, message=None, code=2, key=u'RFC_LOGON_FAILURE',
msg_class=None, msg_type=None, msg_number=None,
msg_v1=None, msg_v2=None, msg_v3=None, msg_v4=None):
# Setting default values allows for raising an error with one parameter.
super(LogonError, self).__init__(message, code, key, msg_class, msg_type, msg_number,
msg_v1, msg_v2, msg_v3, msg_v4)