mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Added some obvious errors explanations
This commit is contained in:
parent
e9f49a6d5a
commit
17732fe698
125 changed files with 435 additions and 458 deletions
|
@ -236,7 +236,7 @@ void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api) {
|
|||
}
|
||||
|
||||
FileAccessRef f = FileAccess::open(p_output_file, FileAccess::WRITE);
|
||||
ERR_FAIL_COND(!f);
|
||||
ERR_FAIL_COND_MSG(!f, "Cannot open file '" + p_output_file + "'.");
|
||||
f->store_string(JSON::print(classes_dict, /*indent: */ "\t"));
|
||||
f->close();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue