Skip to content

AttemptedSource

relationalai.config.errors.exceptions
AttemptedSource(source_name: str, error_message: str, file_path: str | None = None)

Information about a config source that was tried but failed.

AttemptedSource.source_name: str

Name of the source (e.g., “RAIConfig (raiconfig.yaml)”)

AttemptedSource.error_message: str

Why it failed (e.g., “File not found”, “YAML parsing error”)

AttemptedSource.file_path: str | None

Path to the file that was tried

Possible Members:

  • str
  • None