"""Domain errors for Users Profiles."""

from __future__ import annotations


class ProfileError(Exception):
	"""Base error for Users Profiles operations."""


class ProfileNotFoundError(ProfileError):
	"""Raised when a profile for the given user does not exist."""


class ProfileValidationError(ProfileError):
	"""Raised when an update payload violates validation rules."""
