Signature of the function that returns the Map that store custom validation messages for each error.
typedef ValidationMessageFunction = String Function(Object error);