MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / PrintErrorMsg

Function PrintErrorMsg

BaseTools/Source/Python/Ecc/c.py:54–61  ·  view source on GitHub ↗
(ErrorType, Msg, TableName, ItemId)

Source from the content-addressed store, hash-verified

52 return EccGlobalData.gConfig
53
54def PrintErrorMsg(ErrorType, Msg, TableName, ItemId):
55 Msg = Msg.replace('\n', '').replace('\r', '')
56 MsgPartList = Msg.split()
57 Msg = ''
58 for Part in MsgPartList:
59 Msg += Part
60 Msg += ' '
61 GetDB().TblReport.Insert(ErrorType, OtherMsg=Msg, BelongsToTable=TableName, BelongsToItem=ItemId)
62
63def GetIdType(Str):
64 Type = DataClass.MODEL_UNKNOWN

Callers 15

CheckFuncLayoutModifierFunction · 0.70
CheckFuncLayoutNameFunction · 0.70
CheckFuncLayoutPrototypeFunction · 0.70
CheckFuncLayoutBodyFunction · 0.70
CheckDeclTypedefFormatFunction · 0.70
CheckDeclArgModifierFunction · 0.70
CheckDeclNoUseCTypeFunction · 0.70

Calls 2

GetDBFunction · 0.70
InsertMethod · 0.45

Tested by

no test coverage detected