Files
edx-platform/common/djangoapps/third_party_auth/exceptions.py
2019-07-19 10:02:38 -04:00

15 lines
396 B
Python

"""
Exceptions for SAML Authentication.
"""
from __future__ import absolute_import
from social_core.exceptions import AuthException
class IncorrectConfigurationException(AuthException):
"""
Error caused due to incorrect configuration.
"""
def __str__(self):
return 'There was an error in SAML authentication flow which might be caused by incorrect SAML configuration.'