mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 02:43:29 +00:00
Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'
The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is (conditionally defines the error message). There are a few ERR_EXPLAINC calls for C-strings where String is not included which can stay as is to avoid adding additional _MSGC macros just for that. Part of #31244.
This commit is contained in:
parent
de4aabe89b
commit
d3153c28f0
13 changed files with 43 additions and 88 deletions
|
|
@ -5761,7 +5761,7 @@ GDScriptParser::DataType GDScriptParser::_type_from_gdtype(const GDScriptDataTyp
|
|||
|
||||
switch (p_gdtype.kind) {
|
||||
case GDScriptDataType::UNINITIALIZED: {
|
||||
ERR_EXPLAIN("Uninitialized datatype. Please report a bug.");
|
||||
ERR_PRINT("Uninitialized datatype. Please report a bug.");
|
||||
} break;
|
||||
case GDScriptDataType::BUILTIN: {
|
||||
result.kind = DataType::BUILTIN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue