# sec_interp.core.exceptions module

Domain-specific exceptions for SecInterp.

This module defines a hierarchy of exceptions to provide clearer error reporting and better handling of expected and unexpected conditions.

exception sec_interp.core.exceptions.ConfigurationError(message: str, details: dict | None = None)

  Bases: `SecInterpError`

  Raised for configuration-related issues.

exception sec_interp.core.exceptions.DataMissingError(message: str, details: dict | None = None)

  Bases: `ProcessingError`

  Raised when required data (e.g. from a layer) is missing.

exception sec_interp.core.exceptions.ExportError(message: str, details: dict | None = None)

  Bases: `SecInterpError`

  Raised when data export fails.

exception sec_interp.core.exceptions.GeometryError(message: str, details: dict | None = None)

  Bases: `ProcessingError`

  Raised for geometry-related errors (invalid, null, etc.).

exception sec_interp.core.exceptions.ParameterError(message: str, details: dict | None = None)

  Bases: `ValidationError`

  Raised when an invalid parameter is provided to a service or tool.

exception sec_interp.core.exceptions.ProcessingError(message: str, details: dict | None = None)

  Bases: `SecInterpError`

  Raised when data processing fails.

exception sec_interp.core.exceptions.SecInterpError(message: str, details: dict | None = None)

  Bases: `Exception`

  Base class for all SecInterp-specific exceptions.

  __init__(message: str, details: dict | None = None) → None

    Initialize the SecInterp error with a message and optional details.

    Parameters:

      - message – Human-readable error message explaining what happened.

      - details – Optional dictionary containing technical error context or details.

exception sec_interp.core.exceptions.ValidationError(message: str, details: dict | None = None)

  Bases: `SecInterpError`

  Raised when input validation fails.