vtils

Home > validator > yup > ValidationError > formatError

yup.ValidationError.formatError() method

Signature:

static formatError(message: LocaleValue, params: LocaleValueFnParams): string;

Parameters

Parameter Type Description
message LocaleValue  
params LocaleValueFnParams  

Returns:

string