Tagged Questions
17
votes
5answers
1k views
Try-catch or ifs for error handling in C++
Are exceptions used widely in game engine design or it is more preferable using pure if statements? For example with exceptions:
try {
m_fpsTextId = m_statistics->createText( "FPS: 0", 16, 20, ...