mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Merge pull request #32051 from qarmin/some_error_explanation
Added some obvious errors explanations
This commit is contained in:
		
						commit
						dec10dd776
					
				
					 125 changed files with 435 additions and 458 deletions
				
			
		|  | @ -165,7 +165,7 @@ Error read_all_file_utf8(const String &p_path, String &r_content) { | |||
| 	PoolVector<uint8_t> sourcef; | ||||
| 	Error err; | ||||
| 	FileAccess *f = FileAccess::open(p_path, FileAccess::READ, &err); | ||||
| 	ERR_FAIL_COND_V(err != OK, err); | ||||
| 	ERR_FAIL_COND_V_MSG(err != OK, err, "Cannot open file '" + p_path + "'."); | ||||
| 
 | ||||
| 	int len = f->get_len(); | ||||
| 	sourcef.resize(len + 1); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rémi Verschelde
						Rémi Verschelde