You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 20:57:11 +00:00
7 lines
201 B
Python
7 lines
201 B
Python
from django.core.exceptions import ValidationError
|
|
|
|
|
|
class ConflictError(Exception):
|
|
def __init__(self, validation_error: ValidationError) -> None:
|
|
self.validation_error = validation_error
|