You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 23:17:10 +00:00
сhore: code refactoring
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
|
||||
class UniqueConstraintError(Exception):
|
||||
class ConflictError(Exception):
|
||||
def __init__(self, validation_error: ValidationError) -> None:
|
||||
self.validation_error = validation_error
|
||||
|
||||
Reference in New Issue
Block a user