How to handle a JavaScript (jQuery) validation error?

If a JavaScript (jQuery) validator vails, the jQuery Validation plugin (used by Magento 2) triggers an event:

So you can catch and handle it.

An example