2.2 Use Microcopy
Best practice number two is to embrace microcopy. Form microcopy can include things like short tips or instructions on field requirements. It’s usually best to use microcopy for complex fields, such as passwords where there is a certain format users need to adhere to.
Although this has nothing to do with how an error is displayed, microcopy might help prevent the error in the first place.