Setting an error message (instead of a notice) on attempt failure.