Show error message after exception handled

date_error seems to be a function of that class, so you’ll have to use

add_action('edit_user_profile', array($this, 'date_error'));

However I am not entirely sure that’ll work because I don’t know when this function is called. It might already be too late to register the hook.