method

clear

clear()
public

Removes all errors that have been added.