Look up the fail, bad, clear, and ignore member functions.