Closed nicpuppa closed 10 months ago
@nicpuppa it seems that the SLA bot doesn't like your commits. Please check if the email address of the commits match your GitHub account.
Hi @saig0 thanks for the review 🚀
I applied all the suggestions, please have another look 👀 Sorry for the CLA, new pc 😂
Applied all suggestions, please have another look @saig0 👀
Description
Create new
assert(value, condition)
function in order to allow users to verify if a variable met a certain condition, and return an error if the condition is not fulfilled. This function should help users to migrate to 8.3 easily if they rely on validation error.Users can provide also a custom error message by
assert(value, condition, cause)
Related issues
closes #675