From b6b6c022259e926764a2e33352a9615b78392401 Mon Sep 17 00:00:00 2001 From: Akshay Goel Date: Thu, 7 Aug 2025 21:58:19 -0400 Subject: [PATCH] Remove duplicate exceptions.py from root directory The exceptions.py file existed in both the root directory and langextract/ directory with identical content. This removes the duplicate from the root to avoid confusion and maintain proper package structure. --- exceptions.py | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 exceptions.py diff --git a/exceptions.py b/exceptions.py deleted file mode 100644 index 0199da56..00000000 --- a/exceptions.py +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2025 Google LLC. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Base exceptions for LangExtract. - -This module defines the base exception class that all LangExtract exceptions -inherit from. Individual modules define their own specific exceptions. -""" - -__all__ = ["LangExtractError"] - - -class LangExtractError(Exception): - """Base exception for all LangExtract errors. - - All exceptions raised by LangExtract should inherit from this class. - This allows users to catch all LangExtract-specific errors with a single - except clause. - """