File
[boolean] hasError()
Returns if an error occurred since the last clearError() call, or since the opening of the file if clearError() has never been called.
clearError()