MCPcopy Create free account
hub / github.com/bwapi/bwapi / getLastError

Method getLastError

bwapi/Shared/GameShared.cpp:68–72  ·  view source on GitHub ↗

----------------------------------------------- GET LAST ERROR -------------------------------------------

Source from the content-addressed store, hash-verified

66 }
67 //----------------------------------------------- GET LAST ERROR -------------------------------------------
68 Error GameImpl::getLastError() const
69 {
70 // returns the last error encountered in BWAPI
71 return lastError;
72 }
73 //--------------------------------------------- SET LAST ERROR ---------------------------------------------
74 bool GameImpl::setLastError(BWAPI::Error e) const
75 {

Callers 13

BWAPIExceptionFilterFunction · 0.80
startMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
startMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
startMethod · 0.80
startMethod · 0.80
useTechMethod · 0.80
onSendTextMethod · 0.80

Calls

no outgoing calls

Tested by 10

startMethod · 0.64
updateMethod · 0.64
updateMethod · 0.64
updateMethod · 0.64
startMethod · 0.64
updateMethod · 0.64
updateMethod · 0.64
startMethod · 0.64
startMethod · 0.64
useTechMethod · 0.64