Source code for petres.errors.zone
from __future__ import annotations
"""Zone-related error definitions."""
from .base import PetresError
[docs]
class ZoneError(PetresError):
"""Represent errors raised during zone operations.
Use this exception to distinguish zone-specific failures from other domain
errors and handle them consistently.
"""
default_message: str = "An error occurred related to zone operations."