Validates that a value is within a specified range
The value to validate
Minimum allowed value (inclusive)
Maximum allowed value (inclusive)
Descriptive context for error messages
Error if value is out of range
Validates that a value is within a specified range