cognee/cognee/modules/pipelines/exceptions/exceptions.py
2025-10-22 17:38:41 +01:00

12 lines
377 B
Python

from cognee.exceptions import CogneeSystemError
from fastapi import status
class PipelineRunFailedError(CogneeSystemError):
def __init__(
self,
message: str = "Pipeline run failed.",
name: str = "PipelineRunFailedError",
status_code: int = status.HTTP_422_UNPROCESSABLE_CONTENT,
):
super().__init__(message, name, status_code)