This method sets the error handling for the object. In reality, it doesn't do a great deal because I don't use it.