v.19.14Improvement

Added Optional Message Argument in Throwif

Added optional message argument in throwIf. (#5772) #6329 (Vdimir)
Added an optional message argument to the throwIf function.

Why it matters

This feature allows users to provide a custom error message when the throwIf condition is met, improving error clarity and debugging experience.

How to use it

Use the throwIf function with the new optional message argument to specify a custom error message, e.g., throwIf(condition, 'Custom error message').