featuresmith
  • Docs
  • SDK
  • CLI
  • Examples
  • Roadmap
v0.1.0
Documentation

Getting Started

  • Introduction
  • Installation
  • Quick Start
  • Benchmarks
  • Development Setup
  • Contributing

Core Concepts

  • Architecture Overview
  • Dataset Layer
  • Connectors
  • Profiling Engine
  • Rule Engine

Python SDK

  • load()
  • profile()
  • analyze()
  • Data Models
  • Exceptions
  • Plugins

CLI Reference

  • analyze
  • Configuration

Guides

  • CI/CD Integration
  • Custom Rules
  • Writing Plugins

Resources

  • Release Notes
  • FAQ
  • Troubleshooting
DocsGuide

Getting Started

  • Introduction
  • Installation
  • Quick Start
  • Benchmarks
  • Development Setup
  • Contributing

Core Concepts

  • Architecture Overview
  • Dataset Layer
  • Connectors
  • Profiling Engine
  • Rule Engine

Python SDK

  • load()
  • profile()
  • analyze()
  • Data Models
  • Exceptions
  • Plugins

CLI Reference

  • analyze
  • Configuration

Guides

  • CI/CD Integration
  • Custom Rules
  • Writing Plugins

Resources

  • Release Notes
  • FAQ
  • Troubleshooting
HomeDocsExceptions Reference

Python SDK

Exceptions Reference

SDK Reference: custom error classes raised during ingestion

Featuresmith uses a structured class hierarchy for errors raised during loading and ingestion. All custom exceptions inherit from ConnectorError.

Exception Hierarchy

Exception ClassParent ClassTrigger Condition
ConnectorErrorExceptionBase error for all loading and connector-specific failures.
SourceNotFoundErrorConnectorErrorRaised when a local file path does not exist.
UnsupportedFormatErrorConnectorErrorRaised when a file extension or object type is unsupported.
SourceParseErrorConnectorErrorRaised when pandas or Polars fails to parse a corrupted dataset.

Robust Ingestion Guardrails

Exceptions do not expose raw table values or secure system information. Catching specific errors is simple:

python
1import featuresmith as fs
2from featuresmith.core.exceptions import SourceNotFoundError, UnsupportedFormatError
3
4try:
5 ds = fs.load("unsupported_extension.txt")
6except UnsupportedFormatError as e:
7 print(f"Format check failed: {e}")
8except SourceNotFoundError:
9 print("File path missing.")

Explore

  • Quick Start
  • Python SDK
  • CLI Reference
  • Examples
featuresmith

Open-source data profiling and validation for Python engineers.

Documentation

  • Introduction
  • Quick Start
  • Python SDK
  • CLI Reference

Community

  • GitHub
  • Discussions
  • Issues
  • Contributing

Project

  • Roadmap
  • Release status
  • Benchmarks
  • Changelog
  • Examples

Legal

  • Apache 2.0 License
  • Code of Conduct
  • Security

© 2026 Featuresmith Contributors. Released under the Apache 2.0 License.

Built in the open — contributions welcome.