UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FormatStringSanErrors.inl File Reference

Go to the source code of this file.

Functions

 X (SNeedsDereferencedNarrowString, "'%s' expects dereferenced `FAnsiString` or `FUtf8String`.") X(SNeedsDereferencedWideString
 
s expects dereferenced FString X (SNeedsPtrButGotChar, "'%s' expects character pointer but got character. (Is there an extra '*' somewhere?)") X(SNeedsNarrowCharPtrArg
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHARX (SNeedsWideCharPtrArg, "'%s' expects `TCHAR*`.") X(SNeedsNarrowCharPtrArgButGotWide
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls X (SNeedsWideCharPtrArgButGotNarrow, "'%s' expects `TCHAR*` but got `ANSICHAR*` or `UTF8CHAR*`; use '%hs'.") X(CapitalSNeedsDereferencedNarrowString
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String X (CapitalSNeedsDereferencedWideString, "'%S' expects dereferenced `FString`.") X(CapitalSNeedsPtrButGotChar
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got character (Is there an extra ' *' somewhere?)") X(CapitalSNeedsNarrowCharPtrArg
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHARX (CapitalSNeedsWideCharPtrArg, "'%S' expects `TCHAR*`.") X(CapitalSNeedsNarrowCharPtrArgButGotWide
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s X (CapitalSNeedsWideCharPtrArgButGotNarrow, "'%S' expects `TCHAR*` but got `ANSICHAR*` or `UTF8CHAR*`; use '%s'.") X(HSNeedsDereferencedNarrowString
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String X (HSNeedsPtrButGotChar, "'%hs' expects character pointer but got character. (Is there an extra '*' somewhere?)") X(HSNeedsNarrowCharPtrArg
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHARX (HSNeedsNarrowCharPtrArgButGotWideOnNarrowString, "'%hs' expects `ANSICHAR*` or `UTF8CHAR*` but got `TCHAR*`; use '%ls'.") X(HSNeedsNarrowCharPtrArgButGotWideOnWideString
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s X (LSNeedsDereferencedWideString, "'%ls' expects dereferenced `FString`.") X(LSNeedsPtrButGotChar
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHARX (LSNeedsWideCharPtrArgButGotNarrowOnNarrowString, "'%ls' expects `TCHAR*` but got `ANSICHAR*` or `UTF8CHAR*`; use '%s'.") X(LSNeedsWideCharPtrArgButGotNarrowOnWideString
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHAR ls expects TCHAR *but got ANSICHAR *or UTF8CHAR *use hs X (IncompleteFormatSpecifierOrUnescapedPercent, "incomplete '%' escape sequence. (to print a percent sign, write '%%'.)") X(CNeedsCharArgOnNarrowString
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHAR ls expects TCHAR *but got ANSICHAR *or UTF8CHAR *use hs c expects ANSICHAR or UTF8CHAR X (CNeedsCharArgOnWideString, "'%c' expects `TCHAR`.") X(PNeedsPointerArg
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHAR ls expects TCHAR *but got ANSICHAR *or UTF8CHAR *use hs c expects ANSICHAR or UTF8CHAR p expects a pointer X (FNeedsFloatOrDoubleArg, "'%f' expects `float` or `double`.") X(InvalidFormatSpec
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHAR ls expects TCHAR *but got ANSICHAR *or UTF8CHAR *use hs c expects ANSICHAR or UTF8CHAR p expects a pointer unsupported format specifier (to print a percent sign, write '%%'.)") X(NotEnoughArguments
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHAR ls expects TCHAR *but got ANSICHAR *or UTF8CHAR *use hs c expects ANSICHAR or UTF8CHAR p expects a pointer unsupported format not enough arguments provided to format string X (NotEnoughSpecifiers, "missing format specifier (Is there a missing '%' somewhere?)") X(DNeedsIntegerArg
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHAR ls expects TCHAR *but got ANSICHAR *or UTF8CHAR *use hs c expects ANSICHAR or UTF8CHAR p expects a pointer unsupported format not enough arguments provided to format string d expects integral arg (eg. `char`, `int`, `long`, etc.)") X(ZNeedsIntegerArg
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHAR ls expects TCHAR *but got ANSICHAR *or UTF8CHAR *use hs c expects ANSICHAR or UTF8CHAR p expects a pointer unsupported format not enough arguments provided to format string d expects integral z expects integral z must havesuffix (eg. '%zd', '%zu', etc.)") X(LNeedsIntegerArg
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHAR ls expects TCHAR *but got ANSICHAR *or UTF8CHAR *use hs c expects ANSICHAR or UTF8CHAR p expects a pointer unsupported format not enough arguments provided to format string d expects integral z expects integral z must have a l[] expects integral h[] expects integral hh[] expects integral suffix (eg. '%hhd', '%hhu', etc.)") X(HHNeedsIntegerArg
 
s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls S expects dereferenced FAnsiString or FUtf8String S expects character pointer but got S expects ANSICHAR *or UTF8CHAR S expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s hs expects dereferenced FAnsiString or FUtf8String hs expects ANSICHAR *or UTF8CHAR hs expects ANSICHAR *or UTF8CHAR *but got TCHAR *use s ls expects character pointer but got ls expects TCHAR ls expects TCHAR *but got ANSICHAR *or UTF8CHAR *use hs c expects ANSICHAR or UTF8CHAR p expects a pointer unsupported format not enough arguments provided to format string d expects integral z expects integral z must have a l[] expects integral h[] expects integral hh[] expects integral hh[] expects integral ll[] expects integral ll[] expects integral I must appear as I64 with an integral suffix (eg. '%I64d', '%I64u', etc.)") X(I64NeedsIntegerArg
 

Function Documentation

◆ arg()

◆ character()

◆ specifier()

◆ suffix() [1/3]

◆ suffix() [2/3]

◆ suffix() [3/3]

◆ X() [1/15]

◆ X() [2/15]

◆ X() [3/15]

◆ X() [4/15]

◆ X() [5/15]

◆ X() [6/15]

◆ X() [7/15]

◆ X() [8/15]

◆ X() [9/15]

◆ X() [10/15]

◆ X() [11/15]

◆ X() [12/15]

◆ X() [13/15]

s expects dereferenced FString X ( SNeedsPtrButGotChar  ,
"'%s' expects character pointer but got character. (Is there an extra '*' somewhere?)"   
)

◆ X() [14/15]

s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR * X ( SNeedsWideCharPtrArg  ,
"'%s' expects `TCHAR*`."   
)

◆ X() [15/15]

s expects dereferenced FString s expects ANSICHAR *or UTF8CHAR s expects ANSICHAR *or UTF8CHAR *but got TCHAR *use ls X ( SNeedsWideCharPtrArgButGotNarrow  ,
"'%s' expects `TCHAR*` but got `ANSICHAR*` or `UTF8CHAR*`; use '%hs'."   
)