exceptions
๐ค AI-Generated Content
This documentation was generated with AI assistance and is still being audited. Some, or potentially a lot, of this information may be inaccurate. Learn more.
pyvider.hcl.exceptions
¶
Classes¶
HclError
¶
HclError(
message: str,
*,
code: str | None = None,
context: dict[str, Any] | None = None,
cause: Exception | None = None,
**extra_context: Any,
)
Bases: FoundationError
Base class for errors related to HCL processing in Pyvider.
Source code in provide/foundation/errors/base.py
HclParsingError
¶
HclParsingError(
message: str,
*,
code: str | None = None,
context: dict[str, Any] | None = None,
cause: Exception | None = None,
**extra_context: Any,
)
Bases: HclError
Raised when HCL parsing or schema validation fails.
This is an attrs-based exception class for structured error reporting.
Source code in provide/foundation/errors/base.py
Functions¶
__str__
¶
Provides a detailed error message including source location if available.