Generateurv2/backend/env/lib/python3.10/site-packages/allauth/exceptions.py
2022-06-24 17:14:37 +02:00

9 lines
236 B
Python

class ImmediateHttpResponse(Exception):
"""
This exception is used to interrupt the flow of processing to immediately
return a custom HttpResponse.
"""
def __init__(self, response):
self.response = response