File.getError

Returns the last error that happened when trying to perform operations. Compare with the ERR_FILE_* constants from @GlobalScope.

struct File
@nogc nothrow const
GodotError
getError
()

Meta