Custom login error messages

Hi,

any idea on how to define custom error messages on a custom Bricks login page?
The default form only displays one generic message, that the credentials are wrong.
It would be nice if the customer was at least informed if he entered a wrong email or if both (email and password) are wrong.

Thanks in advance and I wish you all a pleasant day.

Regards,
Jakub