A generic validator function which can transform a value and be chained with other validators. If an input value is invalid, an error must be thrown.
A generic validator function which can transform a value and be chained with other validators. If an input value is invalid, an error must be thrown.