Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

Fix/Trial exception correction (#111)

Athulcc517b6dd4c0
diff --git a/backend/account/exceptions.py b/backend/account/exceptions.py
index 7c9d90494..9f0b443b6 100644
--- a/backend/account/exceptions.py
+++ b/backend/account/exceptions.py
@@ -24,17 +24,3 @@ class UnknownException(APIException):
class BadRequestException(APIException):
status_code = 400
default_detail = "Bad Request"
-
-
-class InactiveOrganization(APIException):
- status_code = 400
- default_detail = (
- "Selected organization is not active. Please contact admin."
- )
- default_code = "subscription_error"
-
-
-class TrialExpired(APIException):
- status_code = 402
- default_detail = "Trial period expired. Please contact sales/admin."
- default_code = "subscription_error"