How to use the pyrfc._exception.LogonError function in pyrfc

To help you get started, we’ve selected a few pyrfc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SAP / PyRFC / pyrfc / _exception.py View on Github external
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)