# fsIOHasError The **fsIOHasError** function is used to check if there are any errors associated with the referenced file.   ##### Syntax ``` wasm bool fsIOHasError( FsIOFile file ); ```   ##### Members {{< table-wrapper >}} | Parameters | Description | |------------|---------------------------------------------------------------------| | `file` | This is the ID of a file, as returned by one of the open functions. | {{< /table-wrapper >}}   ##### Return Values The function returns `True` if the file has some kind of error, `False` otherwise. Use `fsIOGetLastError` to retrieve the actual error.   ##### Remarks N/A