<!-- .github/pull_request_template.md --> ## Description Attempt at making incremental loading run async ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin.
12 lines
370 B
Python
12 lines
370 B
Python
from cognee.exceptions import CogneeApiError
|
|
from fastapi import status
|
|
|
|
|
|
class PipelineRunFailedError(CogneeApiError):
|
|
def __init__(
|
|
self,
|
|
message: str = "Pipeline run failed.",
|
|
name: str = "PipelineRunFailedError",
|
|
status_code: int = status.HTTP_422_UNPROCESSABLE_ENTITY,
|
|
):
|
|
super().__init__(message, name, status_code)
|