I have server validation below:
$this->validate([
'first_name' => ['required','min:2','max:30',new PersonNameRule],
'last_name' => ['required','min:2','max:30',new PersonNameRule],
'username' => ['required','confirmed',new UsernameRule],
'password' => 'required|confirmed|min:6|max:20',
'birthdate' => ['required','date',new EligibleAgeRule(21)]
]);
In front-end, I intentionally fail the validation and console.log() the errors. The log returned looks like below:

Now my question is, where is the message (The given data was invalid) came from? Can I customize it?