from api.domain import DomainError class CompanyNotFoundError(DomainError): ... class CompanyAlreadyExistsError(DomainError): ... class UserAccessError(DomainError): ...