flavors/django-graphql-social-auth

View on GitHub
graphql_social_auth/exceptions.py

Summary

Maintainability
A
0 mins
Test Coverage

class GraphQLSocialAuthError(Exception):
    """Raise GraphQL Social Exception"""


class InvalidTokenError(GraphQLSocialAuthError):
    """Raise Invalid Token Exception"""


class DoAuthError(GraphQLSocialAuthError):

    def __init__(self, message, result):
        super().__init__(message)
        self.result = result