You've already forked RekomenciBackend
add lints
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from typing import override
|
||||
|
||||
from template_project.application.common.errors import ApplicationError, to_error
|
||||
|
||||
|
||||
@@ -10,6 +11,7 @@ class UserWithEmailAlreadyExistsError(ApplicationError):
|
||||
def __str__(self) -> str:
|
||||
return f"User with the email={self.email!r} already exists"
|
||||
|
||||
|
||||
@to_error
|
||||
class UserUnauthorizedError(ApplicationError):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user