You've already forked RekomenciBackend
feat(): yandex sign up interactor
This commit is contained in:
@@ -12,3 +12,13 @@ class UserAlreadyExistsError(ApplicationError):
|
||||
@override
|
||||
def __str__(self) -> str:
|
||||
return f"User with identifier={self.identifier!r} and auth method={self.auth_method.value} already exists"
|
||||
|
||||
|
||||
@to_error
|
||||
class AuthError(ApplicationError):
|
||||
pass
|
||||
|
||||
|
||||
@to_error
|
||||
class InvalidCodeError(ApplicationError):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user