Function File.getError

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

godot.core.defs.GodotError getError() nothrow @nogc const;