""" Custom exceptions for the GotPsi data cleaning pipeline. These exceptions provide specific error handling for different failure modes during the data processing workflow. """ class GotPsiException(Exception): """Base exception for all GotPsi pipeline errors.""" pass class EncodingError(GotPsiException): """Raised when encoding detection or conversion fails.""" pass class DelimiterError(GotPsiException): """Raised when delimiter detection or standardization fails.""" pass class TemporalError(GotPsiException): """Raised when date/time parsing fails.""" pass class SchemaError(GotPsiException): """Raised when schema reconciliation or validation fails.""" pass class QualityError(GotPsiException): """Raised when data quality thresholds are not met.""" pass class ProfilerError(GotPsiException): """Raised when file profiling fails.""" pass class ProcessorError(GotPsiException): """Raised when dataset-specific processing fails.""" pass class ExportError(GotPsiException): """Raised when data export operations fail.""" pass class ConfigurationError(GotPsiException): """Raised when configuration is invalid or missing.""" pass class DataIntegrityError(GotPsiException): """Raised when data integrity checks fail.""" pass