
errors.py
About this file
We attempted to read from templates/app_lib_onelogin_saml2_errors.py_hw.txt but failed.
Code Check Report
No problems to report
Documentation drawn from source code
OneLogin_Saml2_Error classCopyright (c) 2010-2018 OneLogin, Inc.MIT LicenseError class of OneLogin's Python Toolkit.Defines common Error codes and has a custom initializator.
OneLogin_Saml2_Error(Exception):
This class implements a custom Exception handler.Defines custom error codes.
__init__(self, message, code=0, errors=None):
Initializes the Exception instance.Arguments are:* (str) message. Describes the error.* (int) code. The code error (defined in the error class).
OneLogin_Saml2_ValidationError(Exception):
This class implements another custom Exception handler, relatedto exceptions that happens during validation process.Defines custom error codes .
__init__(self, message, code=0, errors=None):
Initializes the Exception instance.Arguments are:* (str) message. Describes the error.* (int) code. The code error (defined in the error class).