You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -634,7 +634,7 @@ static GDScriptCompletionIdentifier _type_from_gdtype(const GDScriptDataType &p_
|
||||
|
||||
switch (p_gdtype.kind) {
|
||||
case GDScriptDataType::UNINITIALIZED: {
|
||||
ERR_EXPLAIN("Uninitialized completion. Please report a bug.");
|
||||
ERR_PRINT("Uninitialized completion. Please report a bug.");
|
||||
} break;
|
||||
case GDScriptDataType::BUILTIN: {
|
||||
ci.type.kind = GDScriptParser::DataType::BUILTIN;
|
||||
|
||||
Reference in New Issue
Block a user