![]() |
0.1.8
|
Classes | |
class | ValidationError |
Validation-specific exceptions for PyHelios. More... | |
Functions | |
ValidationError | create_validation_error (str message, str param_name=None, str function_name=None, str expected_type=None, actual_value=None, str suggestion=None) |
Factory function for creating ValidationError with consistent formatting. | |
ValidationError pyhelios.validation.exceptions.create_validation_error | ( | str | message, |
str | param_name = None, | ||
str | function_name = None, | ||
str | expected_type = None, | ||
actual_value = None, | |||
str | suggestion = None ) |
Factory function for creating ValidationError with consistent formatting.
message | Core error message |
param_name | Parameter name that failed |
function_name | Function where validation failed |
expected_type | Description of expected type/range |
actual_value | Actual value provided |
suggestion | Helpful suggestion for fixing the error |
Definition at line 67 of file exceptions.py.