Source code for taimoe.platform.errors.already_exists_error
"""Already exists error — 409 ALREADY_EXISTS."""
from __future__ import annotations
from ._base import TaimoeAPIError, _register_code, _register_status
[docs]
@_register_status(409)
@_register_code("ALREADY_EXISTS")
class AlreadyExistsError(TaimoeAPIError):
"""The resource the caller tried to create already exists."""
default_code = "ALREADY_EXISTS"