pyhs3.exceptionsΒΆ

Exception classes for pyhs3.

Custom exception hierarchy for better error handling and debugging.

Functions

custom_error_msg(custom_messages)

Customize an error message for pydantic validation errors.

Exceptions

ExpressionEvaluationError

Exception raised when a parsed expression cannot be evaluated.

ExpressionParseError

Exception raised when a mathematical expression cannot be parsed.

HS3Exception

Base exception class for all pyhs3-related errors.

WorkspaceValidationError

Raised when a workspace fails to validate.